Hello everyone,
I am having some trouble trying to reduce the description length of
the feeds. I am using Google's RSS demo, editing the file "/utils_js/
parsers.js" for the Generic RSS 2.0 parser with:
// Entry content.
if (entryData['content'] >= 150){
entryData['content'] = substr(entryData['content'],0,149)."...";
}
entryData['content'] = entry.getElementsByTagName('description')
[0].text;
Is there something wrong with the code? Do I need to change something
else somewhere?
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Desktop Developer Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Desktop-Developer?hl=en
-~----------~----~----~----~------~----~------~--~---