开发者

Remove RSS feed image [duplicate]

开发者 https://www.devze.com 2023-04-05 05:12 出处:网络
This question already has answers here: Closed 11 years ago. 开发者_如何学Python Possible Duplicate:
This question already has answers here: Closed 11 years ago. 开发者_如何学Python

Possible Duplicate:

A simple program to CRUD node and node values of xml file

DOM Remove Child from RSS XML

I am using fetch rss right now to display 1 new article from an RSS feed on my homepage. I would like to reduce the size of my homepage, but unfortunately the feed often posts large images which slow it down. Is there a way to modify one of the existing RSS feed modules (or fetchrss) or write a new one that will remove images from the feed before posting? Thanks


You can set all tag NOT to display by adding CSS class:

#rss_container img {
  display: none;
}
0

精彩评论

暂无评论...
验证码 换一张
取 消