Advertisement:

Author Topic: Yahoo group converter  (Read 700 times)

Offline chipster1059

  • Newbie
  • *
  • Posts: 3
Yahoo group converter
« 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.

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,852
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Yahoo group converter
« Reply #1 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
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline chipster1059

  • Newbie
  • *
  • Posts: 3
Re: Yahoo group converter
« Reply #2 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.

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,852
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Yahoo group converter
« Reply #3 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.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline chipster1059

  • Newbie
  • *
  • Posts: 3
Re: Yahoo group converter
« Reply #4 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.