retrieve posted blog content in wordpress based on id or permalink
-
Hello everybody,
I hope somebody could help me.
How do I retrieve posted blog content in wordpress based on id or permalink? I need the API.
e.g i have post my blog in wordpress and i want it to be showed in my website. Also i need it programmatically in C#. Any idea such as open-standard API, like RSS or Javascript API?
Thank you
The blog I need help with is: (visible only to logged in users)
-
We can’t help you without the URL of the specific blog you’re talking about. Fully a third of our questions come from people asking about forms of blogging that are not supported here.
-
Like this:
http://handy23.wordpress.com/2008/09/10/hello-world/feed/?withoutcomments=1
That will work on almost any WordPress blog.
-
Hi, I have the same problem and the link above solves the issue. However, if the title of the post contains dash, apostrophe or other special characters, it results in error. e.g: http://intersoftpt.wordpress.com/2010/02/10/virtual-group-paging-with-client-binding-in-depth/feed/?withoutcomments=1.
Could you help?
thanks. -
Error message:
XML Parsing Error: undefined entity Location: http://intersoftpt.wordpress.com/2010/02/10/virtual-group-paging-with-client-binding-in-depth/feed/?withoutcomments=1 Line Number 13, Column 92: <title>Intersoft Solutions Corporate Blog » Virtual Group Paging with Client Binding – In Depth</title> -------------------------------------------------------------------------------------------------- -
i load the feed to XmlDocument.
XmlDocument doc = new XmlDocument();
doc.Load(“http://intersoftpt.wordpress.com/2010/02/10/virtual-group-paging-with-client-binding-in-depth/feed/?withoutcomments=1”);and receive exception: “Reference to undeclared entity ‘ndash’. Line 13, position 93.”
it seems because the title contains dash.Any help would be appreciated. Thanks.
-
-
@tellyworth Thanks !
Another thing, in the feed xml, how can i differentiate category and tags? They both uses the same tag, <category>
<category><![CDATA[2009 R2]]></category><category><![CDATA[Development]]></category><category><![CDATA[Products]]></category><category><![CDATA[Client Binding]]></category><category><![CDATA[Group Row Paging]]>
</category><category><![CDATA[Virtual Load]]></category><category><![CDATA[WebGrid]]></category><category><![CDATA[WebGrid Enterprise 7 ASP.NET]]></category> -
I don’t know any way to differentiate tags, other than manually pre-populating a list of each beforehand. Neither RSS nor Atom has a way to distinguish between them as far as I know.
It’s possible there’s a way to retrieve that using XMLRPC, but I’m not sure – http://codex.wordpress.org/XML-RPC_Support
-
-
-
I am unable to get the author. When check on xml, there is <dc:creator>?
How do I get author node?
- The topic ‘retrieve posted blog content in wordpress based on id or permalink’ is closed to new replies.