tag:help-archives.hannonhill.com,2010-02-09:/discussions/web-services/222-copy-feed-block-item-into-structured-data-blockCascade CMS: Discussion 2013-08-20T03:39:33Ztag:help-archives.hannonhill.com,2010-02-09:Comment/191587552012-10-01T13:11:34Z2012-10-01T13:11:34ZCopy feed block item into structured data block<div><p>Hi Micheal,</p>
<blockquote>
<p>I'm interested in importing Wordpress blog posts into our
Cascade database, not just displaying the content.</p>
</blockquote>
<p>Would you be able to provide more detail regarding what you are
looking to do? Are you looking to take a WordPress post and turn it
into a Cascade page?</p>
<p>Thanks!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/191587552012-10-01T15:41:38Z2012-10-01T15:41:38ZCopy feed block item into structured data block<div><p>That is correct. Eventually, I'd like to convert the whole site
from Wordpress to Cascade so I can delete the Wordpress
database.</p></div>Michael McGinnistag:help-archives.hannonhill.com,2010-02-09:Comment/191587552012-10-01T15:52:48Z2012-10-01T15:52:48ZCopy feed block item into structured data block<div><p>Thank you for clarifying, Michael.</p>
<p>What I'm thinking you can do is parse the live WordPress feed or
the WordPress export XML and use web services to create the new
assets within Cascade, no need for a Feed Block.</p>
<p>I would recommend using the exported XML from WordPress as this
includes posts, pages, categories, etc. all in one file. From there
you could generate your structure based on the Page structure in
WordPress (ie parent page(s)), metadata such as categories from the
WordPress categories, and so on.</p>
<p>Please let me know if you have any questions.</p>
<p>Thanks</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/191587552012-10-01T16:14:21Z2013-05-09T20:49:47ZCopy feed block item into structured data block<div><p>So, to oversimplify, I would parse the Wordpress RSS or XML with
PHP, and then use Cascade to write the results into the XHTML block
or region. I can't use Cascade or XSLT to parse it. And I won't see
any feed block data in web services.</p></div>Michael McGinnistag:help-archives.hannonhill.com,2010-02-09:Comment/191587552012-10-01T17:30:54Z2012-10-01T17:30:54ZCopy feed block item into structured data block<div><p>Correct, I think we're on the right page.</p>
<p>Using PHP to generate content for a Cascade Feed Block and then
using PHP to parse the Feed Block would be over-complicating
things. What you'd want to do is parse and use web services at the
same time. So while you parse the WordPress XML/RSS, you're
generating assets within Cascade using Web Services. I hope that
makes sense.</p>
<p>Please let me know if you have any questions.</p></div>Ryan Griffith