I want to publish a news website feeds on my website. However they have included annoying banner advertising next to each headline. Is it possible to remove them from the XML feeds开发者_开发问答?
Yes, it should be easy1 to parse the XML, remove the offending element from the heading, and then serialize the tree-structure back to a XML (RSS) file.
But, it may violate the license of the RSS file, since you'll be actively manipulating the feed.
1) You'll be editing the //rss/channel/item/title
nodes.
精彩评论