× Warning! This forum is in archival status. New contributions may not work.
Importing Wordpress posts/pages
  • I have a lot of posts and pages in Wordpress.I can export as xml, but how do I import into newscoop?
  • 4 Comments sorted by
  • Hi Bob,

    The short answer for the time being is that there isn't a one-click method to import from Wordpress into Newscoop. We're close in a few areas - for example, there is an XML import tool in Newscoop, but it was intended more for importing from single OpenOffice documents, so I don't know what it would do with a Wordpress XML file. I've used that a bit to import XML from Adobe InDesign. See here for more on that: http://wiki.sourcefabric.org/display/CS/Import+from+Adobe+In Design

    We have a few blueprints for such one-click functionality, but we haven't made it yet - see this one, for example, on importing legacy archives: http://wiki.sourcefabric.org/display/CS/Importing+Legacy+Arc hives

    Until then, here's the part which will require some experimentation.

    We are able to import XML (go to Actions-> Import XML in the admin interface), but the XML must be in exactly the format Newscoop is expecting it in. That means that when you set up your Newscoop article types, they have to be either exactly the same ones as Wordpress has (which means that you might have trouble later setting up different fields for your stories), or somehow map the fields coming from Wordpress so that they correspond to fields in Newscoop.

    If you converted the fields before the import, it could work.

    You might be able to perform what is called an XSLT transform, which would allow you to convert one set of XML fields to another set of XML fields. But that would require some coding to do.

    If there aren't hundreds of blog entries, you might be able to do a series of search-and-replace functions in something like Gedit (for Ubuntu) or Notepad++ (for Windows).

    So the conclusion is that this is something that will require more work.

    Maybe you could work with me to try to figure it out? It would probably take some hacking, but if you're familiar with PHP and XML, it shouldn't be too hard. If you're not a developer, maybe you could contribute to getting this functionality done by making a financial contribution to hire a developer to make it?

    Hope this helps,

    doug
    Douglas Arellanes
    Director of Innovation
    Sourcefabric, o.p.s.

    Find a way or make one.
  • I was added a comment in a bug about wordpress integration:

    http://dev.sourcefabric.org/browse/CS-2191?focusedCommentId= 14598&page=com.atlassian.jira.plugin.system.issuetabpane ls%3Acomment-tabpanel#action_14598

    Regards
    Normando

    El 26/01/2011 04:20 p.m., Douglas Arellanes escribió:
    > Hi Bob,
    >
    > The short answer for the time being is that there isn't a one-click
    > method to import from Wordpress into Newscoop. We're close in a few
    > areas - for example, there is an XML import tool in Newscoop, but it
    > was intended more for importing from single OpenOffice documents, so I
    > don't know what it would do with a Wordpress XML file. I've used that
    > a bit to import XML from Adobe InDesign. See here for more on that:
    > http://wiki.sourcefabric.org/display/CS/Import+from+Adobe+In Design
    > < http://wiki.sourcefabric.org/display/CS/Import+from+Adobe+In Design>
    >
    > We have a few blueprints for such one-click functionality, but we
    > haven't made it yet - see this one, for example, on importing legacy
    > archives: http://wiki.sourcefabric.org/display/CS/Importing+Legacy+Arc
    > hives < http://wiki.sourcefabric.org/display/CS/Importing+Legacy+Arc hives>
    >
    > Until then, here's the part which will require some experimentation.
    >
    > We are able to import XML (go to Actions-> Import XML in the admin
    > interface), but the XML must be in exactly the format Newscoop is
    > expecting it in. That means that when you set up your Newscoop article
    > types, they have to be either exactly the same ones as Wordpress has
    > (which means that you might have trouble later setting up different
    > fields for your stories), or somehow map the fields coming from
    > Wordpress so that they correspond to fields in Newscoop.
    >
    > If you converted the fields before the import, it could work.
    >
    > You might be able to perform what is called an XSLT transform, which
    > would allow you to convert one set of XML fields to another set of XML
    > fields. But that would require some coding to do.
    >
    > If there aren't hundreds of blog entries, you might be able to do a
    > series of search-and-replace functions in something like Gedit (for
    > Ubuntu) or Notepad++ (for Windows).
    >
    > So the conclusion is that this is something that will require more work.
    >
    > Maybe you could work with me to try to figure it out? It would
    > probably take some hacking, but if you're familiar with PHP and XML,
    > it shouldn't be too hard. If you're not a developer, maybe you could
    > contribute to getting this functionality done by making a financial
    > contribution to hire a developer to make it?
    >
    > Hope this helps,
    >
    > doug
    >
    >

  • Vote Up0Vote Down Paul BaranowskiPaul Baranowski
    Posts: 389Member, Administrator, Sourcefabric Team
    Hi Bob -
    We are planning a Wordpress import function for the next version.


    Paul Baranowski
    CTO, Sourcefabric, http://sourcefabric.org

    +1 (416) 832-6436 (Cell)
    Skype: paulbaranowski
    720 Bathurst St. / Suite 203 / Toronto / ON / M5S 2R4 / Canada



    On Mon, Jan 24, 2011 at 7:22 PM, Bob Couttie <
    newscoop-dev@lists.sourcefabric.org> wrote:

    > I have a lot of posts and pages in Wordpress.I can export as xml, but
    > how do I import into newscoop?
    >

  • I've only just had time to get back to this issue. Happy that there will be an import function and I'll be happy to test it when it available.