// run after page is ready
$(document).ready(function() {
  // modify the href for each rss-item anchor
  $("a.rss-item").each(function() {
    // get the rss link url
    rssurl = $(this).attr("href")

    // remove the article specific part of the url
    rssurl = rssurl.replace(/\?.*/, "")

    // now swap in the new url
    $(this).attr("href", rssurl)
  })
})


