Hi,
I'm using your module, but I would like to modify it: I need to filter feed's items based on tags, not on the content of the post.
I've seen that basically this module search for the "filter words" in the $item->description field.
I tried to modify that to $item->options->tags, to search inside tags, but it doesn't seems to work. (I never get any post filtered even if there are posts with the searched tags).
Anyone has some idea of what I'm doing wrong? Is $item->options->tags cointaining the list of tags or not?
Vito
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | category-filter.patch | 14.13 KB | darksatanic |
| #4 | tag_filter.zip | 3.14 KB | momper |
Comments
Comment #1
vitozzo commentedI solved the problem: just changing the feed parser from "Common syndication parser" to "SimplePie parser" provided by FeedAPI.
The problem was due to the fact that the tags weren't imported correctly with "Common syndication parser".
Comment #2
momper commented@vitozzo
i'm trying this for 6 - it's still working for you?
thanks momper
Comment #3
momper commentedo.k. we will only make the small modifications to use it with tags and upload this ...
@milosh: i would be glad, if you put it into your package :)
i don't know anything about packating - so only a zip ...
Comment #4
momper commentedwe modified the behavior a little bit:
- no positive keyword: all items are included
- positive keywords: only tags marked as positive are included
- negative keywords are overstriking everything
it made most sense to us ...
greetings momper
Comment #5
darksatanic commentedHere's a complete submodule for doing the same tag-based filtering.
Comment #6
momper commentedexcellent - thanks ...
Comment #7
bubsy119 commentedThx for this feature, it works perfect.
Is it possible to load the tags from a custom table so i can use this always as the default value for filtering the feeds on tags?
Comment #8
tamerzg commentedhttp://drupal.org/project/feed_tag_filter