Posted by gabelula on July 15, 2009 at 9:39pm
Jump to:
| Project: | Mailhandler |
| Version: | master |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
| Issue tags: | hashtags |
Issue Summary
We are using the mailhandler module and we want to use hash tags (#tag1, #tag2) instead of the tags notation (taxonomy: [tag1, tag2] that mailhandler has now. Right now this is harcoded in the mailhandler. We want to move the notation into the module's administration. We are wondering if we should submit a patch for this and if so it could be useful for other people using mailhandler. Thanks!
Comments
#1
Moving this to the Mailhandler issue queue.
#2
If you think it could be useful to other people, please submit a patch (especially if you already did it in your own implementation).
You may want to discuss the idea here, prior to working on the patch, because I'm not sure it's a much needed feature.
#3
I like the idea of hashtag support in Mailhandler. It seems like many people are familiar with hashtags from Twitter, and in any case tagging something with
#drupal #usabilityis much easier thantaxonomy[1]: [drupal, usability].If sites want to turn hashtags in the node body into links the way Twitter does, an additional filter module would also be required for rendering the hashtags.
I haven't tried yet but presumably it should also be possible to make a small plugin module to add hashtag support to Mailhandler, in which case this could be won't-fixed.
#4
Using hashtags as taxonomy commands in mailhandler, in addition to the current syntax, should be rather easy. However, if this feature is to be used as a filter on a node's body field, then a filter is needed as well, in which case, a module should be dedicated to it, IMHO, which can also include the right mailhandler hook, as mfb mentioned.
#5
It is something I was just looking for: as a module would be a fine way to do it. It does seem easier, and seems to be what people expect.
#6
subscribe
#7
Hi all. I'm bumping this back to active. It seems there are various solutions for turning a hashtag into a taxonomy term:
Inte is doing it with FeedAPI (http://drupal.org/node/384576), but that won't work unless you are pulling a feed from somewhere (twitter) to get the #content.
Facebook Style Statuses Tags supports this (http://drupal.org/node/464720), but it seems that would require using the full FBSS module set (?) and many users won't be interested in that.
Gaba initially proposed that mailhandler be able to deal with hashtags as an alternate taxonomy command. This makes a lot of sense to me, and would make it simple for any mailhandler user to add tags using now-standard syntax (#foo #bar) instead of the special taxonomy command syntax. IMHO, as long as mailhandler is supporting various commands, including a taxonomy command, it makes a lot of sense to allow users to use # as their taxonomy command - ie include this in mailhandler, not require an additional hashtag module.
That said, it seems like a standalone hashtag module that basically filters node body content and turns # into tags would also be useful, and other modules could take advantage of it. But, mailhandler should support # anyway and not wait for a hashtag module.
#8
I'm looking through vozmob commits and it looks like gaba actually coded this already: http://github.com/mfb/vozmob/commit/ba60b92115e3c09c6503857db968e17b36df...
If this is a viable solution can it be included?
#9
Bump. What's the resolution of this?
#10
It's not clear that many sites using mailhandler want this kind of microblogging functionality. Meanwhile it's trivial to make a small module providing hashtag support (either as a mailhandler plugin or implementing the nodeapi) so I'm going to mark this won't fix.
I created a small module called `hashtag` (for lack of a better name, let me know if anyone has a better idea) and will add it to d.o. when I can, assuming there is no other module out there that already does this. I simply implemented the nodeapi presave op so it's a generic module rather than mailhandler-specific.
#11
mfb, im interested in your small module. Have you uploaded it to Drupal.org?
#12
I have not, but you can find a rough draft module here: http://gitorious.org/vozmob/vozmob/trees/master/html/sites/all/modules/h...