Does anyone have any experience pulling Wordpress blog posts into an Umbraco site? My client's site is maintained in Umbraco, but their blog is Wordpress. I'd like to pull the latest few posts into the home page if that's possible. I'm imagining that the XML is the key, though I've never done such a thing in Umbraco so I'm looking for some advice and/or code.
I currently use Feed Cache to accomplish displaying posts from WordPress on my homepage in Umbraco. I give it the RSS feed to my blog, save it as a .xml file and then display the posts via XSLT and a Macro. Just like it says, it caches the feed! If you need any help on getting the XSLT to work for it, let us know.
displaying wordpress blog content
Hi,
Does anyone have any experience pulling Wordpress blog posts into an Umbraco site? My client's site is maintained in Umbraco, but their blog is Wordpress. I'd like to pull the latest few posts into the home page if that's possible. I'm imagining that the XML is the key, though I've never done such a thing in Umbraco so I'm looking for some advice and/or code.
Thanks in advance,
Garrett
Garrett,
I currently use Feed Cache to accomplish displaying posts from WordPress on my homepage in Umbraco. I give it the RSS feed to my blog, save it as a .xml file and then display the posts via XSLT and a Macro. Just like it says, it caches the feed! If you need any help on getting the XSLT to work for it, let us know.
--
Donald
Hi Garrett,
How about consuming the Wordpress rss feed from an XSLT macro using
umbraco.library:GetXmlDocumentByUrl( $rssUrl )
There's an article here on the WIKI with xslt to render an rss feed.
That said, looks like the Feed Cache package does exactly what you need :)
Rock 'n' roll. Feed Cache working great! Issue though-- how do I display the value of the <link> tag in the Atom XML?? Here's my code (broken):
What's wrong with this picture?
Thank,
Garrett
Hi Garrett,
You can't use value-of inside an attribute - what you need is an "Attribute Value Template" which is a fancy term for curly braces:
/Chriztian
Hello I want to display wordpress blog post in my site please provide me the codes
Thnaks all the maestros of umbraco
is working on a reply...