Quantcast
Channel: Answers for "How to add an RSS feed to my sidebar?"
Viewing all articles
Browse latest Browse all 11

Answer by tazmeah

$
0
0
Sorry, I didn't realize I was looking at the sidebar. Okay, your sidebar is "#sidebar" and the script you used for your rss feed is actually To use your script in jQuery, I'll have to change the last tag from to <\/script> Now, I'm going to save your script as a "variable" we'll name...hmm..."rss". var rss = $(' That last bit of code can be placed anywhere (in your page's header, as a code block anywhere on the page itself, in the footer,...etc.) and when the browser reads it, it will place it in the sidebar. So you can remove the script you currently have in the sidebar and try the code above on any page that has a sidebar. And if you want to use a different rss code on a particular page, just change the script used in the jQuery (remembering to add that \ at the end, the way I did.) It should allow you to have different rss feeds in different sidebars.

Viewing all articles
Browse latest Browse all 11

Trending Articles