RSS,
XML and JavaScript Newsfeeds from ASG
American Sex
Gazette offers our news via industry standard
RSS newsfeed for our user to use in your own
news aggregator program to keep yourself up to
date on news as it happens, or for those wishing
to syndicate American Sex Gazette to their
website.
Most feeds listed here offer news
about human sexuality in North America as-it-happens
to etiher you personally via your new aggregator
or to your website and readers.
Automatically updating headlines to keep you
and/or your readers informed, intrigued and up
to date.
|
|
RSS
feed for aggregators 
If you are
using Mozilla Firefox, SharpReader or any other program
to read to RSS/XML newsfeeds, you can use the following
RSS 0.91, 1.0 compliant newsfeed by simply using this
url:
http://www.americansexgazette.com/asg/rss/rss20.php
If you would like to get the headlines from only
one section, this is available by using the following
URL's with the trailing parameters:
http://www.americansexgazette.com/asg/rss/rss20.php?rss=us
http://www.americansexgazette.com/asg/rss/rss20.php?rss=canada
Please be sure to check back soon as we will be
adding American Health and Entertainment. In
addition we will add newsfeeds specifically by subject
manner like Prostitution, Alternative Lifestyles,
Marriage Issues, HIV/AIDs, etc...
Native XML feed for developers 
American Sex Gazette has occasionally
received requests to provide the newsfeed in a native
XML file format. The links above do this, but only
after running PHP and SQL request scripts to a
MySQL database. In most circumastances we can see
little reason to provide both, but we do so by user
request. (Some advanced users seem keen to do advanced
style parsing and apparently this helps). The daily
news is available everyday the following XML
compliant file:
http://www.americansexgazette.com/asg/rss/asg.xml
JavaScript implementation for website publishers 
Many website owners would like to add
American Sex Gazette's headlines to their site. In the world
of online traffic having dynamic and automatically
updating cotent can be a draw to entice users to visit
you more regularly. However creating and
developing your own content can be time consuming and
laborious. American Sex Gazette is happy to provide
site owners with the option of adding our content
headlines to their site free of charge and easily.
Using simple JavaScript you can copy and
paste simple JavaScript code into you
webpage where you would like the headlines to
appear. In addition, using basic stylesheets (CSS)
you are able to format it to your site's unique
look and feel. To show all news from American Sex
Gazette, copy the following JavaScript code into your
page, where you want the headlines to
appear:
<script
language="JavaScript" src=" http://www.americansexgazette.com/feed/feed2js.php?src=
http://www.americansexgazette.com/asg/rss/rss20.php"
type= "text/javascript"></script>
** For some reason copying this code from the webpage doesn't always work.
For this reason there is text files linked below ** < /STRONG>
To show only one
section, use the parameter(s) cited above (please
download a simple text file as HTML doesn't seem to like
displaying the code correctly):
Full JScript Code
Canada JScript Code
US JScript Code
|