plainblack.com
Username Password
search
Bookmark and Share

Bash.org Quote Macro

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
 

System RequirementsPlease be advised: this contribution was tested with something older than WebGUI 7.5. When this contribution was uploaded there was no field for the author to fill out regarding it's requirements.
Comments
DownloadBashQuote.pm BashQuote.pm
LinksNo Support Offered
Statistics Downloads: 480
Views: 3604
Rating: 0
Updated: 12/5/2006
Keywords acme
NavigationBack to the Bazaar
© 2018 Plain Black Corporation | All Rights Reserved