How to: Google Feed API contentSnippet remove readmore text -
i've searching cant find solution this.. there way remove "read more" text contentsnippet?
cheers, jun
in entries[] there 2 sections, contentsnippet , content.
content - body of entry, inlcuding html tags. since value can contain html tags, should display value usingelem.innerhtml = entry.content (as opposed using document.createtextnode). corresponds or elements in atom , element in rss.
contentsnippet - snippet (< 120 characters) version of content attribute. snippet not contain html tags.
so guess if used data content want 'read more' of contentsnippet.
Comments
Post a Comment