| Horoscopes |
Which Horoscopes Should You Pick?
Our daily Chinese and Western Horoscopes are available in a number of different file types that can be used in a variety of databases and content management systems. If you already have a content management system, it will likely dictate your choice of file type. If not, the best choice is to use JavaScripts.
Text, CSV, and Tabbed files are delivered as archives of 365 individual files. Test is the best format for printed horoscopes, newspapers, and those who wish to customize their own delivery system. XML files can be delivered as one file with 365 days worth of content, or as 12 monthly files.
JavaScript Instructions:
The horoscopes will be sent to you in one large zip file, which expands into 12 separate zip files. You will need to set up separate directories on your local hard drive for each month, or just keep them in their individual zip files until needed. Each month, ideally at midnight, or first thing in the morning on the first of the month, upload the 12 .js files into a directory of your choice on your web site.
You must also set up your tags on your site. On your page, wherever you want the horoscopes to appear, place the following tags for each sign:
<script language="JavaScript" src="/aries.js"></script>
<script language="JavaScript" src="/taurus.js"></script>
<script language="JavaScript" src="/gemini.js"></script>
<script language="JavaScript" src="/cancer.js"></script>
<script language="JavaScript" src="/leo.js"></script>
<script language="JavaScript" src="/virgo.js"></script>
<script language="JavaScript" src="/libra.js"></script>
<script language="JavaScript" src="/scorpio.js"></script>
<script language="JavaScript" src="/sagittarius.js"></script>
<script language="JavaScript" src="/capricorn.js"></script>
<script language="JavaScript" src="/aquarius.js"></script>
<script language="JavaScript" src="/pisces.js"></script>
If you wish to place the scripts in a subdirectory, you may do so, but must change the tags as in this example:
<script language="JavaScript" src="/http://www.yoursite.com/scripts/aries.js"></script>
If you have any questions about setting up your horoscopes, or would like to have a custom file type created, please contact us for more information.
Popular Pages |