[wp-testers] Wrong date when importing from Movable Type 3.2..

Naudirz naudirz at gmail.com
Mon Jan 2 23:55:20 GMT 2006


I´ll provide a sample of the MT export file if someone has the time to check
this out.

<BOF>

--------
AUTHOR: phiberz
TITLE: Vill du ha gmail?
STATUS: Publish
ALLOW COMMENTS: 1
CONVERT BREAKS: __default__
ALLOW PINGS: 1
PRIMARY CATEGORY: Vardags händelser/tankar
CATEGORY: Vardags händelser/tankar

DATE: 11/13/2005 01:02:57
-----
BODY:
Trött på hotmail? Trött på att bara ha 2Mb mail låda?
Vill ha ett gratiskonto? Med 2663+ (blir hela tiden mer)Mb Mail låda?

Lägg en kommentar i på detta inlägg med ditt mailkonto så skickar jag en
inbjudan till gmail. Jag har 100st tillgodo, så passa på!

Kan lova att du inte blir besviken!
Läsa/Veta mer? Kolla in <a href="http://www.gmail.com">www.gmail.com</a>

-----
EXTENDED BODY:

-----
EXCERPT:

-----
KEYWORDS:

-----
COMMENT:
AUTHOR: Johan
EMAIL:
IP: 83.176.46.009
URL:
DATE: 11/13/2005 11:27:33
Ge mig ge mig ge mig ge mig. Jag måste ha!!!! Mina 3.453 gamla är redan slut
och nu har jag abstinens... Jag betalar bra bara du levererar snabbt...
Måste regga några nya snart....
 :D :D :D



-----


--------
AUTHOR: phiberz
TITLE: Webbstatistik blir gratis - Google står för notan
STATUS: Publish
ALLOW COMMENTS: 1
CONVERT BREAKS: __default__
ALLOW PINGS: 1
PRIMARY CATEGORY: Dator relaterat
CATEGORY: Dator relaterat

DATE: 11/14/2005 11:40:48
-----
BODY:
Sajtägare som inte vill betala dyra pengar för sin webbstatistik får idag
ett intressant alternativ. Google gör ett avancerat analysverktyg
tillgängligt helt utan kostnad.

<a title="Google Analytics" href="http://www.google.com/analytics/">Google
Analytics</a>


-----
EXTENDED BODY:
Analysföretag som Web Trends och Web Side Story får se upp. Från och med
idag bjuder Google på ett analysverktyg som bland annat låter sajtägare se
var trafiken kommer ifrån, vilka länkar som drar flest besökare, vilka sidor
som visas ofta, och var besökarna ger upp. Det mesta som finns i de vanliga
analysverktygen finns med i Google Analytics.
- Det här kommer att skada analysföretag som riktar sig mot små- och
medelstora företag, säger analytikern Eric Peterson vid Jupiter Research
till news.com.

Verktyget bygger på teknik från Urchin, ett företag som Google köpte i mars
i år. Innan Google köpte Urchin var kostnaden för analysverktyget 495 dollar
per månad, vilket Google direkt sänkte till 199 dollar - fram till idag när
det blir gratis.

De som testat Google Analytics tycks vara positiva. Financial Times
webbplats har sedan juni utvärderat verktyget.
- Vi fick en väldigt specifik inblick i vår trafik. För stora organisationer
har den alla rapportfunktioner du behöver för att förstå vad dina besökare
gör, sägerily Jipson som är produktchef för FT.com till Informationweek

Google Analytics ska ersätta det enkla analysverktyg dom idag finns i
Googles annonsprogram Adwords. Adwords får ett nytt gränssnitt för
kontoägarna, med tre olika vyer: för företagsledning/chef, för
webbredaktörer, och för marknadsansvariga.

Verktyget innehåller även en funktion som automatiskt importerar
kostnadsuppgifter för roi-rapporter (return on investment), så att
reklamköpare kan se hur mycket de betalar för sina annonser i förhållande
till hur mycket pengar de tjänar på dem, skriver news.com.
-----
EXCERPT:

-----
KEYWORDS:

-----
COMMENT:
AUTHOR: renee
EMAIL: reXXX_106 at hotmail.com
IP: 81.225.87.001
URL:
DATE: 11/17/2005 06:53:36
vill ha gmail
-----

<EOF>

2006/1/3, Naudirz <naudirz at gmail.com>:
>
> MT>> not what i know of, i´ll check into that.
>
>
> The comment import function is strange...
> cause if i FIRST go into the mysql databas and set "user_id" to 1 and save
> the comment apears in comments in wordpress suddenly but  it i look at the
> posting in wordpress it say NO comment but it displays the comment ?!
> strange
> If i use the admin interface in wordpress and edit the comments, i don´t
> change anything in it just press save, then it appears as "1 comment" to the
> post i made.!
>
> seems like the import function don´t add the right settings anymore so
> anyone can make a successfull  import :(
>
> RGDS Phiberz
>
> 2006/1/3, Naudirz <naudirz at gmail.com>:
> >
> > If I edit the exported file and remove the "FM and EM" time stamp i get
> > it to import as it should
> >
> > BUT i still dont get the comments, the import status says "1 comment"
> > etc. imported and the comment is in the mysql database BUT it doesn´t show
> > up in wordpress.
> >
> > strange..
> >
> > RGDS Phiberz
> >
> > 2006/1/2, Naudirz < naudirz at gmail.com>:
> > >
> > > More:
> > > --------------------------------------------------------------
> > >
> > >    - %x
> > >
> > >    The language-aware standard date representation. For most
> > >    languages, this is just the same as *%B %d, %Y*. Example: September
> > >    06, 2002.
> > >    - %X
> > >
> > >    The language-aware time representation. For most languages, this
> > >    is just the same as *%I:%M %p*. Example: 04:31 PM.
> > >
> > >
> > > ---------------------------------------------------------------------------
> > > /Phiberz
> > >
> > >
> > >
> > > 2006/1/2, Naudirz < naudirz at gmail.com>:
> > > >
> > > > Okay, i´ve checked it out abit more to:
> > > >
> > > > <$MTEntryDate format="%X"$> think the error are here, FM and EM
> > > > after my date stamp are like AM and PM in USA i live in Sweden
> > > >
> > > > ----------------------------------------------------------------
> > > >
> > > >    - %X
> > > >
> > > >    The language-aware time representation. For most languages,
> > > >    this is just the same as *%I:%M %p*. Example: 04:31 PM.
> > > >
> > > > ----------------------------------------------------------------
> > > >
> > > > http://www.sixapart.com/movabletype/docs/3.2/c_date_formats/
> > > >
> > > > " the language attribute can be used to override the weblog's
> > > > preferred language setting in weekday names, month names, and AM/PM codes"
> > > >
> > > >
> > > >
> > > > BUT can this be fixed in the Wordpress import function, can´t
> > > > wordpress just ignore the AM PM stamp or in my case FM and EM??
> > > >
> > > > //Phiberz
> > > >
> > > >
> > > >
> > > > 2006/1/2, Aaron Brazell <aaron at technosailor.com>:
> > > > >
> > > > >
> > > > >
> > > > > > > The date in the exported files is correct ex. "DATE:
> > > > > 03/22/2005 05:03:42
> > > > > > > FM"
> > > > > >
> > > > > > Forgive me, but what timezone is FM? I don't see it listed here
> > > > > > http://www.timeanddate.com/library/abbreviations/timezones/ and
> > > > > I'm sure
> > > > > > the importer is throwing up because of line 262 of the
> > > > > importer...
> > > > > >
> > > > > > $post_modified = strtotime($value);
> > > > > >
> > > > > > If strtotime() can't find the timezone it doesn't know how to
> > > > > interpret
> > > > > > that date string... And if MT is using their own definitions of
> > > > > timezones,
> > > > > > then 1) they are being tremendously unhelpful and 2) we should
> > > > > know what
> > > > > > those definitions are...
> > > > >
> > > > > Now I'm confused. I did a little more research on the MT export
> > > > > format and an example is provided here (
> > > > > http://lemonodor.com/archives/000730.html).
> > > > >
> > > > > Which begs the question, is that FM a typo on your part or did MT
> > > > > really export an FM? It should be AM or PM...
> > > > >
> > > > > _______________________________________________
> > > > > wp-testers mailing list
> > > > > wp-testers at lists.automattic.com
> > > > > http://lists.automattic.com/mailman/listinfo/wp-testers
> > > > >
> > > >
> > > >
> > >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://comox.textdrive.com/pipermail/wp-testers/attachments/20060102/fa5cfbf7/attachment-0001.htm


More information about the wp-testers mailing list