I am looking for a way to display or echo each post ID within my RSS feed. Basically when I access my RSS feed site, I get the following XML items: <title>
, <link>
, <comments>
, <category>
, <pubDate>
, <guid isPermaLink>
, <description>
.
When I use this Google function in my code
var url = 'http://howtodeployit.com/category/daily-devotion/feed/';
$.ajax({
type: "GET",
url: document.location.protocol + '//ajax.googleapis.com/ajax/services/feed/load?v=1.0&num=1000&callback=?&q=' + encodeURIComponent(url),
dataType: 'json',
the returned Objects are title, link, author, publishedDate, contentSnippet...
What I also want returned is the Post ID but not sure how to get my WordPress to include that in the XML.
guid
tags in your feed, they include the post id's (...?p=123
)