BBQuote
I just made a little extension for Drupal that makes nicer quotes than the ones generated by the BBCode module. This one takes the IPB layout (including, incidentally, the corresponding IPB images, which is why I won't make the module publically available yet) for quotes and formats quotes according to that.
The design is also better than the standard BBCode in a few ways - for example, it checks (supposedly) for broken tags, so that an extra closing tag or an unclosed tag at the end will be left unparsed.
That part of the module doesn't quite work yet, so for now I have to make sure the tag tree is coherent myself.
[quote author=Arancaytar date=yesterday url=http://arancaytar.ermarian.net email=arancaytar.ilyaran@gmail.com]
This is a test quote.
[/quote]
Other than that, it works beautifully.
- Arancaytar's blog
- 1200 reads




Updated
This module was in many ways a precursor to my work on XBBcode. Since then, it has been replaced with a far leaner module that merely hooks into the XBBcode API to provide the same tag it did before.
--
Arancaytar
And oddly, though Bloglines
And oddly, though Bloglines strips out the quote, it still registers that the date at the top of the quote has changed, so it marks the post as having been changed, every single day.
Whoops.
Yes, there's a problem with allowing relative times in the quote date ("today", "now"). Namely, whenever the filter is re-run, the date is recalculated. And there is no way to store the calculated date, due to the way filters work.
I need to get rid of the relative times, I guess.
--
Arancaytar
Post new comment