Skip to main content
Bumped by Community user
added 11 characters in body; edited tags
Source Link
tfrommen
  • 9.2k
  • 7
  • 39
  • 59

I am looking for a way to display or echo each post ID within my RSS feed. Basically when iI access my RSS feed site 'http://howtodeployit.com/category/daily-devotion/feed/'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',

Thethe returned Objects are title, link, author, publishedDate, contentSnippet...

What I also want returned is the Post ID but not sure how to get my WordpressWordPress to include that in the XML.

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 'http://howtodeployit.com/category/daily-devotion/feed/', I get the following XML items: , , , , , , .

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.

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.

Source Link

Get Post ID as a separate RSS feed item

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 'http://howtodeployit.com/category/daily-devotion/feed/', I get the following XML items: , , , , , , .

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.