Truth, Justice, and the American Way

12/7/2004

Random Quote Generator

Filed under: General — David @ 1:56 am

Do you like the random quotes you see on my website? Would you like to add my random quote generator to your site? You can do so in a number of ways:

  • As a JavaScript include (easiest method): Paste the following text into your html:
    <script language="Javascript" SRC="http://rationalmind.net/random.php?format=js"></script>
  • As XML: Use this URL: http://rationalmind.net/random.php?format=xml
  • As PHP code:

    < ?php include("http://rationalmind.net/random.php"); ?></>

  • As text (when screen scraping): http://rationalmind.net/random.php
If you want to submit your own quotes, you can view the full list and add new quotes. (The quotes will not appear until I approve them.)

If you want to limit the quotes to a specific author, add author=Authors Name to the URL. You can combine this with the format. For example: http://rationalmind.net/random.php?author=Ayn Rand&format=js

If you want to view all quotes by a specific author, add ?show_author= to the url like so: http://rationalmind.net/random.php?author=Ayn Rand

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

(required)

(required)


Powered by WordPress Page used 30 queries in 1.249 seconds.