I have a fun little site called the quote cache:

http://quotes.prolix.nu

I thought (one day, bored of course) that I could hook the backend into some kind of XML generater, so I could use the quotes elsewhere, mainly I wanted a way to grab a random quote every 6 hours or so and have that written to my .sig file, which was on another server

So I created this:

http://quotes.prolix.nu/cgi-bin/random_xml_quote.cgi

This script will output a random literary quote in XML format for your enjoyment.(here's an html version

I also created a script that'll take in the XML and format it into HTML, here's the link: http://www.skazat.com/design/scripts/quote_viewer.html

Its made to be used on a personal website, I'm sure you guys can hack it to make it write a .sig file.

on mi mac, netscape 4 was able to mount my website as another hard drive and retrive the sig file from there.

have fun,

 

-justin simoni
!skazat!


In reply to Literary Quotes love XML (really) by skazat

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.