How To Create RSS Feeds For Google+?





2
comments





PLEASE NOTE:



We have Zero Tolerance to Spam.

Chessy Comments and Comments with
'Links'
will be deleted immediately upon our review.



(function() {
var items = ['id': '8467176518855021870', 'body': 'Mo,x3cbr /x3eThanks for the tips. Where do we post the HTML code?', 'timestamp': '1313368808654', 'permalink': 'https://www.mybloggertricks.com/2011/08/how-to-create-rss-feeds-for-google.html?showCommentx3d1313368808654#c8467176518855021870', 'author': 'name': 'CB', 'avatarUrl': '//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SAx3ds35', 'profileUrl': 'https://www.blogger.com/profile/13671619356367189610', 'displayTime': 'Aug 15, 2011, 5:40:00 AM', 'deleteclass': 'item-control blog-admin pid-484117019', 'id': '3239179407435037764', 'body': 'Thanx alot for such a great information! Besides rss, is there a way to submit blog posts automatically to Google +?', 'timestamp': '1316492856490', 'permalink': 'https://www.mybloggertricks.com/2011/08/how-to-create-rss-feeds-for-google.html?showCommentx3d1316492856490#c3239179407435037764', 'author': 'name': 'Maria', 'avatarUrl': '//1.bp.blogspot.com/-kizDIP8dZEE/TiLVGOFAtPI/AAAAAAAAAQc/rt--6RxO8KY/s35/274753_100001206048361_4210_n.jpg', 'profileUrl': 'https://www.blogger.com/profile/05904012941621667275', 'displayTime': 'Sep 20, 2011, 9:27:00 AM', 'deleteclass': 'item-control blog-admin pid-1059329930'];
var msgs = 'loadMore': 'Load more...', 'loading': 'Loading...', 'loaded': 'No more!', 'addComment': 'Add comment', 'reply': 'Reply', 'delete': 'Delete';
var config = 'blogId': '8193278726666811965', 'postId': '1928091972309851138', 'feed': 'https://www.mybloggertricks.com/feeds/1928091972309851138/comments/default', 'authorName': 'M. Mustafa Ahmedzai', 'authorUrl': 'https://www.blogger.com/profile/11681339458447132019', 'baseUri': 'https://www.blogger.com', 'maxThreadDepth': 2;
// 0)
cursor = parseInt(items[items.length - 1].timestamp) + 1;

var bodyFromEntry = function(entry)
if (entry.gd$extendedProperty)
for (var k in entry.gd$extendedProperty)
if (entry.gd$extendedProperty[k].name == 'blogger.contentRemoved')
return '' + entry.content.$t + '';



return entry.content.$t;

var parse = function(data)
cursor = null;
var comments = ;
if (data && data.feed && data.feed.entry)
for (var i = 0, entry; entry = data.feed.entry[i]; i++)
var comment = ;
// comment ID, parsed out of the original id format
var id = /blog-(d+).post-(d+)/.exec(entry.id.$t);
comment.id = id ? id[2] : null;
comment.body = bodyFromEntry(entry);
comment.timestamp = Date.parse(entry.published.$t) + '';
if (entry.author && entry.author.constructor === Array)
var auth = entry.author[0];
if (auth)
comment.author =
name: (auth.name ? auth.name.$t : undefined),
profileUrl: (auth.uri ? auth.uri.$t : undefined),
avatarUrl: (auth.gd$image ? auth.gd$image.src : undefined)
;


if (entry.link)
if (entry.link[2])
comment.link = comment.permalink = entry.link[2].href;

if (entry.link[3])
var pid = /.*comments/default/(d+)?.*/.exec(entry.link[3].href);
if (pid && pid[1])
comment.parentId = pid[1];



comment.deleteclass = 'item-control blog-admin';
if (entry.gd$extendedProperty)
for (var k in entry.gd$extendedProperty)
if (entry.gd$extendedProperty[k].name == 'blogger.itemClass')
comment.deleteclass += ' ' + entry.gd$extendedProperty[k].value;
else if (entry.gd$extendedProperty[k].name == 'blogger.displayTime')
comment.displayTime = entry.gd$extendedProperty[k].value;



comments.push(comment);


return comments;
;
var paginator = function(callback) {
if (hasMore()) {
var url = config.feed + '?alt=json&v=2&orderby=published&reverse=false&max-results=50';
if (cursor)
url += '&published-min=' + new Date(cursor).toISOString();

window.bloggercomments = function(data) {
var parsed = parse(data);
cursor = parsed.length






  1. CBAug 15, 2011, 5:40:00 AM

    Mo,
    Thanks for the tips. Where do we post the HTML code?


    ReplyDelete








  2. MariaSep 20, 2011, 9:27:00 AM

    Thanx alot for such a great information! Besides rss, is there a way to submit blog posts automatically to Google +?


    ReplyDelete




Add comment


Load more...












BLOG_CMT_createIframe('https://www.blogger.com/rpc_relay.html');







這個網誌中的熱門文章

Barbados

How to read a connectionString WITH PROVIDER in .NET Core?

Node.js Script on GitHub Pages or Amazon S3