Does anybody know of an existing module which will extract tags from the body of a post (i.e. a line like "Tags: tag1 tag2 tag3") and pass them to the taxonomy system to tag that node?
I've had a skim through the Taxonomy related module list on drupal.org and didn't spot anything...
Cheers, Dan
Dan,
Here you go: http://kitt.hodsden.com/drupal/extract_tags_module
You'll have to use comma separated tags, instead of space separated:
tags: tag1, tag3, taginfinity
Enjoy.
Kitt.
Quoting Dan Karran dan@karran.net:
Does anybody know of an existing module which will extract tags from the body of a post (i.e. a line like "Tags: tag1 tag2 tag3") and pass them to the taxonomy system to tag that node?
I've had a skim through the Taxonomy related module list on drupal.org and didn't spot anything...
Cheers, Dan
-- Dan Karran dan@karran.net www.dankarran.com -- [ Drupal support list | http://lists.drupal.org/ ]
Quoting Kitt Hodsden kitt-drupal@hodsden.org:
Dan,
Here you go: http://kitt.hodsden.com/drupal/extract_tags_module
You'll have to use comma separated tags, instead of space separated:
tags: tag1, tag3, taginfinity
Enjoy.
Kitt.
Quoting Dan Karran dan@karran.net:
Does anybody know of an existing module which will extract tags from the body of a post (i.e. a line like "Tags: tag1 tag2 tag3") and pass them to the taxonomy system to tag that node?
I've had a skim through the Taxonomy related module list on drupal.org and didn't spot anything...
I am not sure why one would want to do this? Can someone explain why I would want to embed the tags in my node text instead of adding the appropriate category (vocabulary) settings to the content type? I have hierarchy disabled and free tagging checked and it allows me to enter a comma separated list. I also get the benefit of dynamic suggested terms based on what is being entered.
Earnie -- http://for-my-kids.com/
On 7/20/07, Earnie Boyd earnie@users.sourceforge.net wrote:
Quoting Kitt Hodsden kitt-drupal@hodsden.org:
Dan,
Here you go: http://kitt.hodsden.com/drupal/extract_tags_module
You'll have to use comma separated tags, instead of space separated:
tags: tag1, tag3, taginfinity
Enjoy.
Many thanks, Kitt! I didn't expect someone to write the module for me, I just didn't want to duplicate work. Anyway, great work :)
I am not sure why one would want to do this? Can someone explain why I would want to embed the tags in my node text instead of adding the appropriate category (vocabulary) settings to the content type? I have hierarchy disabled and free tagging checked and it allows me to enter a comma separated list. I also get the benefit of dynamic suggested terms based on what is being entered.
You're right, it's not that useful for adding tags through the normal methods, where it's just as easy (and you get a lot more context) when adding the tags through the taxonomy fields. I was more thinking of situations where you may be posting something in a non-standard way, such as by email, sms or xmpp, where these fields wouldn't be available to you.
Imagine maybe you had a site where you could email Drupal a message...
"Learning about cool new maps tags: maps, openstreetmap place: london"
... and it'd post it for you, tag it up, and maybe even take the location information and deduce some lat/long coordinates for it, etc. It's sort of looking at Drupal more as a software platform than a content management system, and it's great for that sort of thing.
Cheers, Dan
Quoting Earnie B:
Quoting Kitt Hodsden:
Dan,
Here you go: http://kitt.hodsden.com/drupal/extract_tags_module
You'll have to use comma separated tags, instead of space separated:
tags: tag1, tag3, taginfinity
Enjoy.
Kitt.
Quoting Dan Karran:
Does anybody know of an existing module which will extract tags from the body of a post (i.e. a line like "Tags: tag1 tag2 tag3") and pass them to the taxonomy system to tag that node?
I've had a skim through the Taxonomy related module list on drupal.org and didn't spot anything...
I am not sure why one would want to do this? Can someone explain why I would want to embed the tags in my node text instead of adding the appropriate category (vocabulary) settings to the content type? I have hierarchy disabled and free tagging checked and it allows me to enter a comma separated list. I also get the benefit of dynamic suggested terms based on what is being entered.
What Dan said.
Ever use Flickr? Ever use Flickr via mobile phone or email where you can tag photos with "tags: tag2 tag3" ? Ever duplicate this functionality on your own site where you can post via your cell phone via email or SMS?
Yeah, that's why: because not everyone is sitting at the Drupal interface typing in node content.
And, really, it's okay. People use software in ways you wouldn't expect them to, sometimes in creative ways, sometimes in ways you think are dumb. Doesn't matter. If it works for them, then let them use it that way.
Kitt.
Quoting Kitt Hodsden kitt-drupal@hodsden.org:
Thanks Kitt.
Quoting Earnie B:
What Dan said.
Ever use Flickr? Ever use Flickr via mobile phone or email where you can tag photos with "tags: tag2 tag3" ? Ever duplicate this functionality on your own site where you can post via your cell phone via email or SMS?
No, never have to all of those Q's.
Yeah, that's why: because not everyone is sitting at the Drupal interface typing in node content.
That answer is acceptable.
And, really, it's okay. People use software in ways you wouldn't expect them to, sometimes in creative ways, sometimes in ways you think are dumb. Doesn't matter. If it works for them, then let them use it that way.
I am one who would rather use a CLUI instead of a GUI so I understand. :)
Earnie -- http://for-my-kids.com/