We need to be able to import databases from other CMSs and even legacy HTML-only sites.
To do so, we need to create a standard XML format that Newscoop will be able to import and convert into custom pre-made article types (those would have to be created manually, unless a script could automate that as well):
The process would go like this:
Legacy DB --> Custom Script --> Standard XML --> Newscoop Import Script --> Newscoop DB
Standard XML format that Newscoop 3.2.1 is able to import from is (the first version) is attached below (content.xml).
We will collect the custom scripts (Joomla, Drupal, Wordpress, custom CMS, etc.) in this wiki.
First partial implementation of this is described in ticket:#2769
Further enhancements to the script that are necessary:
- Allow for import of images
2. Allow for import of multimedia files and attachments (make sure it also works for embedded media)
3. Pre-import parsing of the XML file to list the imported article names/headlines (with pagination) and potential errors.
Further enhancements to the admin interface:
- We need it to keep social media counter e.g. Facebook Like stats - many clients say it is very important.
- We need it to make Google follow and index new links easily
- import and store old URL (for Georgian imports Holman while importing created new article type which had field old_url)
Step 2: (solution1)
We need some recognition algorithm, sold urls could be matched with new and for like button - it's ok.
But for redirect we need to implement some dispatcher which on each request will look in db for old url matching if not matched then going as standard newscoop request
it would work like this:
a) we create working redirect, keeping old URLs matching new articles
b) we force social counters to LIKE the old url on old articles (by article type most probably)
From Wordpress >> Disqus
- they provide basic solution (of the URLs have not changed)
- if they did change, they ask to create CSV file in such format:
Migration from Wordpress
- We can take cues from Wordpress to blogger conversion utility: http://wordpress2blogger.appspot.com/
- Wordpress sample export is attached below