Pro-Capitalist Random Quote Generator Script

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” xsrc=”http://www.rationalmind.net/random.php?format=js”></script>

  • As XML: Use this URL:
    http://www.rationalmind.net/random.php?format=xml
  • As PHP code:


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

  • As text (when screen scraping): http://www.rationalmind.net/random.php
  • Google Gadget: http://www.rationalmind.net/random.php?format=gadget

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. (To filter by topic, use ?topic=KeyWord ) You can combine this with the format. For example:
http://www.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://www.rationalmind.net/random.php?author=Ayn Rand

3 Comments

Filed under Uncategorized

3 Responses to Pro-Capitalist Random Quote Generator Script

  1. You might want to review and add the large selection of economics quotes from http://www.fortliberty.org/quotes/quotes-economics.shtml

    The site also has relevant quotes on several related topics, such as liberty, law, taxes, and government.

Leave a Reply

Your email address will not be published. Required fields are marked *