The BashQuote macro pulls a block of random quotes from a bash.org xml feed and displays one randomly on each page view.
For those unfamiliar, bash.org is a website that features a large database of quoted conversations from various IRC channels. Anyone can submit quotes so the fun never ends. They are usually rated "R", sometimes downright obscene, and almost always hillarious.
Again, these quotes are almost certainly NSFW... you've been warned.
Requirements
---------------
- WebGUI 7.x
- XML::RSS module (you can get this on cpan)
Installation
------------
1 - Install the XML::RSS module from CPAN.
2 - Place the BashQuote.pm file in the WebGUI/lib/WebGUI/Macro folder
3 - Enable the Macro in your config file. An entry under macros similar to this should suffice:
"BashQuote" : "BashQuote"
4 - Restart modperl
Usage
-------
^BashQuote();
You can optionally pass the url to use for the rss feed in case it changes someday.
Example Output
-----------------
bash #707762
griffjon: yay, I only had ~8k hits from .mil this year!
ameyer: why does milwaukee get its own tld?
jali: to keep them away from us