Audiofanzine on your site
Do you have a web site ? Would you like to enhance it with daily audio and music news ? We suggest you install our free and user-friendly script which allows you to include our news on your site ! There are a few options for that.
The Easiest Way
All you have to do is copy the following code onto the HTML pages of your site, and it's done !<script type="text/javascript" src="https://fr.audiofanzine.com/news/partenaires/audiofanet/newsblank.inc.txt"></script>
Method for webmasters (PHP, ASP, Java)
This method is even more efficient since you insert the news on the server side of your site and not the client side. This way your are sure of total compatibility , even with older generation browsers.This solution is less complicated than it looks, since all you need is to insert some php code in the page of your site, there where you want to show the news. What's more, this solution lets you personalize the news display.
For information, You have access to a file to parse here :
https://en.audiofanzine.com/news/partenaires/audiofanet_en/flat.inc.txtAll you need to do is make or get a small function that uses the news. Here below is an example PHP :
Source Code Demo :
<?php
echo AF_News();
function AF_News ($iDisplayed = 10, $sTarget = "_blank")
{
// Copyright : www.audiofanzine.com
// $iDisplayed : Nombre de news affichées (Max / Default 10)
// $sTarget : cible de l'affichage des news :
// _blank : dans une nouvelle fenêtre,
// _top : dans la même fenêtre
if($iDisplayed >= 10){$iDisplayed = 10;}
$sUrl = "https://en.audiofanzine.com/news/partenaires/audiofanet_en/flat.inc.txt";
$sFile = file_get_contents($sUrl);
$aLines = explode(" ", $sFile);
$sHtml = "";
for ($i = 0; $i < $iDisplayed; $i++)
{
$sHtml .= str_replace("a href", "a target=" . $sTarget . " href", $aLines[$i]);
}
return $sHtml;
}
?>
Show User-reviews, Originals, Classified Ads etc. on your site
You can also have access to AudioFanzine news for :
- User Reviews : https://en.audiofanzine.com/news/partenaires/audiofanet_en/avis.txt
- Review Requests : https://en.audiofanzine.com/news/partenaires/audiofanet_en/demande_avis.txt
- Top requested reviews : https://en.audiofanzine.com/news/partenaires/audiofanet_en/topdem.txt
- FAQs & Tips : https://en.audiofanzine.com/news/partenaires/audiofanet_en/faq.txt
- Forums : https://en.audiofanzine.com/news/partenaires/audiofanet_en/forum.txt
- Classified Ads : https://en.audiofanzine.com/news/partenaires/audiofanet_en/pa.txt
RSS Feeds
If you prefer RSS Feeds, here are the links :
- AudioFanzine News: https://en.audiofanzine.com/news/partenaires/audiofanet_en/rss.xml
- Videos : https://en.audiofanzine.com/xml/videos/audiofanet_en/podcast.xml