Page tree
Skip to end of metadata
Go to start of metadata

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:

  1. 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:
TBC

URL routing:

  • 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

Step 1:
- 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

Alternate solutions:

http://stackoverflow.com/questions/3823676/is-it-possible-to-force-facebook-likes-to-follow-301-redirects

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)

Comments import:

From Wordpress >> Disqus

Migration from Wordpress

TBC

  • No labels