Is import of mails from Outlook possible ??

Having trouble installing serendipity?
JonasBang
Regular
Posts: 66
Joined: Mon Apr 23, 2007 10:57 pm
Location: Copenhagen, Denmark
Contact:

Post by JonasBang »

Ok, almost all details in place now.

One issue left :

When I dump the xml of my current entries (using the export function), the entries are listed with this author :
<author>nospam@example.com (Redaktøren)</author>
But, the email address of that author is set to something else when I check that in the user settings (a real email address :D ).
Why is it in the xml dump set to 'nospam@example.com' ??

Anyway, if I use this in my Outlook xml dump for each entry :
<author>nospam@example.com (Redaktøren)</author>
Will it then be imported as if that specific author has written all the entries ??

Br,
Jonas - and thanks for all the help, I hope I can soon let you have some peace :?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

The Spamblock plugin takes care of obfuscating the email addresses in the RSS feed output.

You can disable that in this plugin to hide email addresses.

You should NOT take the export RSS feed as an example for your outlook XML dump. In your outlook dump use this:

<author>blargh@blabla.com</author>

No Username or anything else.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
JonasBang
Regular
Posts: 66
Joined: Mon Apr 23, 2007 10:57 pm
Location: Copenhagen, Denmark
Contact:

Post by JonasBang »

Thanks, we'll start the experiment in the weekend :D

Br,
Jonas
JonasBang
Regular
Posts: 66
Joined: Mon Apr 23, 2007 10:57 pm
Location: Copenhagen, Denmark
Contact:

Post by JonasBang »

I've got the xml file ready now with approx. 1500 entries.
What is the next step ??

Br,
Jonas
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

You can PM me the link to that XML file and I'll write an importer for you.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
JonasBang
Regular
Posts: 66
Joined: Mon Apr 23, 2007 10:57 pm
Location: Copenhagen, Denmark
Contact:

Post by JonasBang »

Ok, a few questions :
You need to enter the URL to your XML file.
I can't see where in the php script I have to define the url to the xml file ??
You might want to play with the options whether to replace br-Tags and if links should be auto-converted to HTML.
What is the difference in regards to the br-tags ??
I guess I wanna convert the links, but I'll try it out.
You might want to try that on a test-install of s9y first.
I think I will just make the xml with a few entries to start with, then if things go wrong, I can delete them and try again, or is that a bad idea ??

Br,
Jonas
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!
I can't see where in the php script I have to define the url to the xml file ??
Not in the PHP file! you need to go to your s9y admin panel, go to import, choose JonasBang importer, and there you enter the URL.
What is the difference in regards to the br-tags ??
If you use the nl2br markup plugins and import your XML, all BRs would get duplicated.
I think I will just make the xml with a few entries to start with, then if things go wrong, I can delete them and try again, or is that a bad idea ??
No, that's perfectly fine :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
JonasBang
Regular
Posts: 66
Joined: Mon Apr 23, 2007 10:57 pm
Location: Copenhagen, Denmark
Contact:

Post by JonasBang »

YESSSSS :D It worked :D 1442 outlook mails converted into Serendipity entries :D

Check it out if you want : http://www.hydraulisktidende.dk/ 8)

Thanks a bunch for the support, Garvin.

Br,
Jonas
Post Reply