Elcan Software

Small software, big solutions.

Home arrow Support Forum
Support Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Filtering and replacing elements (1 viewing) (1) Guest
Requests for feed2post
Go to bottom Post Reply Favoured: 0
TOPIC: Filtering and replacing elements
#770
schelly (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Filtering and replacing elements 5 Months, 1 Week ago Karma: 0  
Before requesting anything further, allow me to thank you for this magnificent software tool. I despaired because FeedGator was allowed to die, and it is such a blessing to have this component being actively developed! So thank you, thank you thank you over and over again.

One feature we had always hoped FeedGator would someday include was the ability to strip out or filter certain HTML elements. For instance, in some "Education Weekly" feeds, they include "digg this" and other images that we simply would prefer not to see.

Additionally, Google news puts its content inside of tables for some reason. In some J!1.5 templates that are XHTML valid, this breaks the layout. Stripping the table tags is the only solution. Unfortunately this causes us to take that step of opening the content, viewing html code and removing all < table >< tbody > < tr > < td > and their closing tags, and substitute them with divs.

Is it possible to code a search and replace? Is php versatile enough to recognize "table width = 400 " and change that to "div style = width:400px ;"? Can you tell php to parse and strip out all img calls?

That would be a dream come true if you could. Right now, this tool saves me a fair bit of time. If these elements could be detected and corrected, this component would save me hours of work. And that would be extremely marvelous.

Thanks for reading my suggestions!
Schelly

 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
      Topics Author Date
    emo
Filtering and replacing elements
schelly 2008/07/30 12:25
    thread link
thread linkthread link Re:Filtering and replacing elements
movilla 2008/08/05 13:19
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Sponsors

Your Ad Here
Joomla Templates by Joomlashack