Simple Machines Community Forum

SMF Support => Converting to SMF => Topic started by: chipster1059 on October 23, 2019, 04:07:11 PM

Title: Yahoo group converter
Post by: chipster1059 on October 23, 2019, 04:07:11 PM
Hi,

I've been a SMF user for over a year now, best forum software I ever used.

I'm also part of several Yahoo groups, but this platform is shutting down in December.  I was wondering about the possibility of converting these groups into a SMF forum.  I've searched this support forum, and while the question has been asked a few times, no functional converter was ever made available.

I have succesfully scraped all messages from the groups using a python script (by Andrew Ferguson on GitHub, I'm not allowed to post links).  The messages are stored in JSON files, one file per message.  All that remains would be to convert these into a SMF-compatible database.

Any help would be appreciated.  Thank you.
Title: Re: Yahoo group converter
Post by: vbgamer45 on October 23, 2019, 04:13:17 PM
I would suggest using SMF's built in functions.
To create posts via PHP code
Check out https://support.simplemachines.org/function_db/index.php?action=view_function;id=323

Also I have a mod called RSS Feed Poster that posts new topics that might be helpful
Title: Re: Yahoo group converter
Post by: chipster1059 on October 23, 2019, 04:33:10 PM
Thank you for the help.

Sadly, Yahoo Groups removed RSS support a few years back, so your RSS poster mod won't work :(

I will look into this PHP function though, but I have one question: is there any way to set a custom timestamp for posts created this way?

Thank you.
Title: Re: Yahoo group converter
Post by: vbgamer45 on October 23, 2019, 05:02:14 PM
I don't believe so. But you could run a SQL query to change the date of the topic and message in those tables.
Title: Re: Yahoo group converter
Post by: chipster1059 on October 24, 2019, 06:01:59 PM
All right; thank you.

I'll run the import soon.  I'll mark this as [SOLVED], and reopen later on if necessary.
Title: Re: Yahoo group converter
Post by: martiniturbide on November 03, 2020, 04:54:25 PM
Hi chipster1059

Did you find a solution to repost the Yahoo Groups messages on SMForum?

I was able to backup the Yahoo Groups with the yahoo backup online tool, now I have some text files. Now I want to import those into SMForum threads.

Regards
Title: Re: Yahoo group converter
Post by: vbgamer45 on November 03, 2020, 05:06:00 PM
Can you post an example of one?