How to automatically strip elements from feed items before posting
fumbling - October 25, 2008 - 00:44
| Project: | SimpleFeed |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
As a newbie, I may be asking a very uninformed question here. I have Simplefeed working, pulling in several feeds together into one view, and all the items are working nodes, so it's been very solid so far. My problem is that there are certain elements of some of the titles that I would like to strip out of the titles before publishing them. Is there any not-so-intimidating way to do that?

#1
If you just want to remove the items from getting displayed, you can edit the node.tpl.php file of your theme. Add php code to filter out the elements from the title.
#2
Thanks. I actually don't know php, so that will be difficult for me. Can you think of any other ways to accomplish the same result with a module or a setting? Perhaps views filters has a way to do this? Meanwhile, I realize it's time I learned some php basics to really dig into Drupal and this motivates me to do that now.