You can use instead of drigg_rss_candidate_tags the AutoKeyword Class (http://www.phpclasses.org/autokeyword) as an option to those that would like to have the tagging work similar to Yahoo Terms (http://www.drupal.org/project/yahoo_terms) but without it.
Some of the reasons I think this more modular approach could be better than using just one embebed method is that it would be interesting to have options on this stuff, i.e user could choose from diferent term extraction modules.
So, maybe your "smart terms" could be an independent module.
How a local module like "smart terms" or "autokeyword" would be better than using Yahoo Terms:
1. This post talks about it: http://vernonkesner.com/141/automatic-tag-clouds-for-your-site.php
2. It doesn't have the http://developer.yahoo.com/faq/#limits that Yahoo Web Services impose.
3. It doesn't depends on the moods of an external company to work.
4. A program running on your server is surely faster than a call to any external server.
I think these are the main reasons for having an independent Drupal module for it.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | rssAutoTag.patch | 5.28 KB | beata57 |
Comments
Comment #1
mercmobily commentedHi,
I am not sure I have time to write a generic wrapper module for Autokeyword, although it would probably be a nice addition to Drupal in general.
Sorry... I want to give priority to Drigg in general, and there are many crucial features still missing. Since we _have_ an RSS feeder, this feature seems less urgent than a lot of other ones... :-(
Merc.
Comment #2
beata57 commentedI think i got a semi working version of this hacked together. I have to do some more work on it, and let it run against some feeds. If everything looks good i will post a patch up some time this weekend.
Beata
Comment #3
mercmobily commentedHi,
Beata: OK thanks.
Please make sure you create a patch that works against the DRUPAL-5 branch of the module!
Thanks,
Merc.
Comment #4
lopolencastredealmeida commentedThanks Beata.
I'm starting also to create a module based on Yahoo Terms but using this class. Probably next tuesday I'll post it here to tests. It won't be a patch but a new module.
The patch stuff in Drigg is still needed :D
Comment #5
beata57 commentedHere is my first patch, let me know how it works. You have to have the class.autokeyword.php file in the drigg directory. I have had it running on my site for a couple days and it seems to be working fine.
Beata
Comment #6
mercmobily commentedComment #7
lopolencastredealmeida commentedThanks :)
Silly question but why did you used "iso-8859-1" instead of the code used by the feed itself?
If the feed is UTF or even iso-8859-15 it won't work.
I think that it should...
.. but I could be damn wrong.
Shouldn't this ...
$keyword = new autokeyword1($params,... be ...
$keyword = new autokeyword($params,I think the class name is wrong autokeyword and not autokeyword1
Comment #8
mercmobily commentedHi,
I will look into this once I apply the patch.
Now that I've launched Free Software Magazine's new web site (http://www.freesoftwaremagazine.com), I have some extra time...
(It's been a little insane)
Bye,
Merc.
Comment #9
lopolencastredealmeida commentedReal pretty :)
Comment #10
lopolencastredealmeida commentedStill about my comment at http://drupal.org/node/225191#comment-758556
That was just in case you are using the auto-feeder.
If you are using the normal Drigg procedure where is the user that writes the article then:
What do you think?
Basicaly, the feeder should check if it is auto feed or user feed and proceed in accordance.
Comment #11
liupascal commentedHello everyone,
I'd like to know if the patch beata made was working as expected or not ? (code review status ?)
Can it be safely applied, without any side effect ?
Thanks
Cheers,
Pascal
Comment #12
mercmobily commentedHi,
We have been concentrating on bug reports.
This will be one of the first things we'll work on once the last bug is gone (and there's only 1 left :-D ).
I am not sure about the patch... I haven't even seen it!
Merc.
Comment #13
philbar commentedNeeds some work:
http://drupal.org/node/225191#comment-758700
Comment #14
philbar commentedComment #15
mercmobily commentedHi,
People, I don't even understand what this feature is about.
an somebody please explain?
Merc.
Comment #16
philbar commentedI don't use RSS at the moment, so this feature doesn't affect me.
From what I gather, it improves the creation of a list of "candidate tags". If a story that comes from RSS has one of these keywords, it will be added as a "tag" to the story.
Comment #17
mercmobily commentedHi,
My goodness, I had forgotten I added that feature...
OK, it's a little clearer now, thank you for that. Will look into it!
Merc.