Flash
You can use Flash if you want different way to represent your digest
Using Flash you can include a feed digest on any HTML page, as long as you have the ability to edit the HTML directly. Find where in the HTML layout you want the digest to appear, and then paste in this code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="374" height="343" id="fl1" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="http://media.feeddigest.com/flash/fl1.swf" />
<param name="FlashVars" value="seturl=BYJKALARUW" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="http://media.feeddigest.com/flash/fl1.swf" quality="high" bgcolor="#ffffff" FlashVars="seturl=BYJKALARUW" width="374" height="343" name="fl1" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
Pros: Can include on any HTML page. Works fine. Users see digest content okay. Ideal for novices.
Cons:Possible character encoding issues in complex multi-language situations.
Picturebeta
You can use Picture if you want colourful layout for your digest
Using Picture you can include a feed digest on any HTML page, as long as you have the ability to edit the HTML directly. Find where in the HTML layout you want the digest to appear, and then paste in this code:
<map name="BYJKALARUW"><area shape='rect' coords="32,55,260,75" href='http://fd2005.feeddigest.com/go/BYJKALARUW/0' target=_blank><area shape='rect' coords="32,80,260,100" href='http://fd2005.feeddigest.com/go/BYJKALARUW/1' target=_blank><area shape='rect' coords="32,105,260,125" href='http://fd2005.feeddigest.com/go/BYJKALARUW/2' target=_blank><area shape='rect' coords="32,130,260,150" href='http://fd2005.feeddigest.com/go/BYJKALARUW/3' target=_blank><area shape='rect' coords="32,155,260,175" href='http://fd2005.feeddigest.com/go/BYJKALARUW/4' target=_blank><area title="Powered by feeddigest dot com" shape='rect' coords="0,175,260,218" href="http://www.feeddigest.com" target=_blank></map><img src='http://media.feeddigest.com/B/BY/BYJKALARUW.gif' border=0 usemap="#BYJKALARUW"/>
Pros: Can include on any HTML page. Works fine. Users see digest content okay. Ideal for novices.
Cons: Every time you change number of items in your digest you need to update inclusion code on your page (get the new one from here).Possible character encoding issues in complex multi-language situations due to beta version.
JavaScript
Use JavaScript if you are a beginner or want the easiest method.
Using JavaScript you can include a feed digest on any HTML page, as long as you have the ability to edit the HTML directly. Find where in the HTML layout you want the digest to appear, and then paste in this code:
<script type="text/javascript" src="http://app.feeddigest.com/digest3/BYJKALARUW.js"><noscript><a href="http://app.feeddigest.com/digest3/BYJKALARUW.html">Click for "Webmaster Resources".</a> Powered by <a href="http://www.feeddigest.com/">RSS Feed Digest</a></noscript></script>
Pros: Can include on any HTML page. Works fine. Users see digest content okay. Ideal for novices.
Cons: Not the fastest method. Digest text is not part of the page content, so search robots will not see it. Possible character encoding issues in complex multi-language situations.
PHP Include ('include' method)
If you have PHP support on your server, you can use the following code to include a feed digest directly into your page's source code:
<?php
include ("http://app.feeddigest.com/digest3/BYJKALARUW.html");
?>
Pros: Fast. Works well with complex multi-language and character encoding situations.
Cons: Requires PHP pages to be used, or a .htaccess workaround for Apache. Some hosts do not support 'include' anymore (such as GoDaddy).
PDF
You can include PDF to your HTML code
Note that you can change width and height parameters of <div> and <embed> tags to your needs.
<div style="width:800;height:600;"><EMBED src="http://fd2005.feeddigest.com/BYJKALARUW.pdf" width="800" height="600" href="http://fd2005.feeddigest.com/BYJKALARUW.pdf"></EMBED><div class="fdpoweredby" style="text-align: right;"><a href="http://www.feeddigest.com"><img src="http://media.feeddigest.com/fdimageBYJKALARUW.gif" alt="Provided by feeddigest.com" border="0"></a></div></div>
PHP CURL Include with Timeout
If you have PHP support on your server and the CURL library, you can use the following code to include a feed digest directly into your page's source code:
<?php
$ch = curl_init();
$timeout = 5; // in seconds, you can change this lower if you want
curl_setopt ($ch, CURLOPT_URL, 'http://app.feeddigest.com/digest3/BYJKALARUW.html');
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
$file_contents = curl_exec($ch);
curl_close($ch);
echo $file_contents;
?>
Pros: Fast. Works well with complex multi-language and character encoding situations. Works on ISPs that do not allow 'include'. Allows a timeout.
Cons: Requires PHP pages to be used, or a .htaccess workaround for Apache. Requires CURL.
ASP VBScript
This is for people using Microsoft based Web servers with ASP support:
<%
dim Http
Set Http = Server.CreateObject("Microsoft.XMLHTTP")
Http.Open "Get","http://app.feeddigest.com/digest3/BYJKALARUW.html",False
Http.Send()
Response.Write(Http.ResponseText)
%>
Thanks to Sean of Simple Site Links for this code.
Character Encoding
If your digest contains unexpected or weird symbols, read this..
If your digest contains non-ASCII characters, it is essential the character encoding of your page matches that of your digests,
or vice versa. An HTML page has no definitive character encoding unless you specify one, and to do so include the following code in your page's <head> .. </head> section:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
This code should resolve any issues you may be having with extraneous, weird characters appearing in your digest which do not appear on an HTML preview.
Auto Discovery of RSS and Atom
Do you want people who come to your site to be able to subscribe to your feed easily? Put the following code into the <head> .. </head> section of your page and many RSS and Atom clients will be able to "autodiscover" your feeds.
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://app.feeddigest.com/digest3/BYJKALARUW.rss" />
<link rel="alternate" type="application/atom+xml" title="ATOM" href="http://app.feeddigest.com/digest3/BYJKALARUW.atom" />