Allow to import articles/pages/comments from Wordpress export
#1
Open
6 jaren geleden geopend door ldidry
·
4 opmerkingen
Laden…
Verwijs in nieuw issue
Er is nog geen inhoud.
Verwijder branch '%!s(<nil>)'
Het verwijderen van een branch is permanent. Het KAN NIET ongedaan gemaakt worden. Wil je toch doorgaan?
I know that is a long shot and really low priority, but it would be wonderful if Plume could import a Wordpress export in the future.
The format of Wordpress export is WordPress eXtended RSS (WXR). You can find some documentation on https://github.com/pbiron/wxr/.
How it's done in Ruby : https://github.com/thomasfl/wordpress_import/blob/master/wordpress_import.rb
For this issue, plume needs handle pages (which are not articles).
How plume should handle comments during import ?
I don't know about pages? Are them part of articles, that all together makes the complete article?
And for comments, I guess Wordpress stores the commenters email address, so we could see if any account has this email address, and create a fake one if need (eventually with a randomly generated suffix in the username to avoid squatting real usernames). Or we could create a comment to the person importing, which would simply contain a quote and the "Imported from Wordpress" mention. Or we could just ignore the comments from people who don't have a Plume account(detected with the email address). I don't know which solution seems the best to you…
No, pages are static pages, apart from the blog itself. Usually, more infos about the blogger, a way to contact him/her, etc.
Exemple: my blog is on https://fiat-tux.fr/, but I have some pages : https://fiat-tux.fr/about/, https://fiat-tux.fr/developpements/, etc.