Porting XBBCode to Drupal 7
Well, as you can see, the NaNoWriMo didn't really work out. Astonishingly, it turns out that a day has only twenty-four hours.
However, I have managed to devote an afternoon this weekend to porting my XBBCode module. This is particularly interesting if you are from Spiderweb, because XBBCode for Drupal 7 is one of the steps on the roadmap to the new Pied Piper Project and the new Blades Forge.
I've managed to achieve a few milestones in short time:
- Creating, editing and deleting custom tags works.
- The basic tag package has been ported.
- The actual filter works, including basic, custom and dynamic tags.
Other than cleanup, the only part that remains of the actual XBBCode port are the other two sub-modules, list and table. The far bigger task ahead is the porting of the Highlighter module. Highlighter unfortunately contains some nasty file juggling and PEAR voodoo, which will be hard to modernize.
- 2185 reads

Bugs
Hi,
Really love this module. Much better then the bbcode module. Is there a way how i can report a bug other then posting it as a comment on your blog?
Thanks in advance and keep up the good work,
Thomas
Keeping track of XBB codes?
Aran,
I am a happy user of your XBB code module for Drupal 6. I have created some [tags] of my own using your module. But the other day, I deleted one of my [tags] while numerous pages and stories were using it.
I therefore have a feature request for your module. It would help me out a lot, and perhaps lots of other people as well. I hope you're inclined in helping me, since my knowlegde of you module is to little to do it myself (and I don't really get some pieces of your code - somewhat to advanced for me perhaps).
My idea is to keep track of XBB tags in an additional database table, looking something like this:
Whenever I save or update a piece of content, the XBB code module could look what tags are being used, and store them in the table above. Now, if I would ever try to delete the [wiki]-tag, Drupal could give me an error: "You are trying to delete the wiki-tag, but it is being used on node/410". Also, it could do the same for images: "The image britney.png is being used on node/213. Are you sure you want to delete the image?"
No more broken links or images
It would really help me out. I'm hoping you think it's a good idea and would add this feature to your module (perhaps as an add-on) 
Kind regards,
Dennis
Email address
Oh, I just forgot to add my email address: it's [removed in case of spambots]. I once submitted a little bug in one of your XBB releases, perhaps you'll remember.
Post new comment