Display Translatum RSS feeds on your website!

spiros · 1 · 11618

Offline spiros

  • Administrator
  • Hero Member
  • *****
    • Posts: 792046
    • Gender:Male
  • point d’amour
    • spiros.doikas
    • greektranslator
    • doikas
    • lavagraph
    • Greek translator CV
Ever wondered how to convert an RSS feed to html and display it on your website?

You would like your visitors to know the latest news about Greek translation?

Just paste the snippets of code below in the code of your web page at the point where you want the feed to appear. All links will open in new pages.

Translatum RSS with description

Code: [Select]
<script language="JavaScript" src="http://jade.mcli.dist.maricopa.edu/feed/feed2js.php?src=http%3A%2F%2Fwww.translatum.gr%2Fforum%2Findex.php%3Faction%3D.xml&chan=y&num=10&targ=y&html=p" type="text/javascript"></script>

<a href="http://jade.mcli.dist.maricopa.edu/feed/feed2js.php?src=http%3A%2F%2Fwww.translatum.gr%2Fforum%2Findex.php%3Faction%3D.xml&chan=y&num=10&targ=y&html=y">View RSS feed</a>

Translatum RSS without description

Code: [Select]
<script language="JavaScript" src="http://jade.mcli.dist.maricopa.edu/feed/feed2js.php?src=http%3A%2F%2Fwww.translatum.gr%2Fforum%2Findex.php%3Faction%3D.xml%3Btype%3Drss&chan=y&num=7&targ=y&html=p" type="text/javascript"></script>

<a href="http://jade.mcli.dist.maricopa.edu/feed/feed2js.php?src=http%3A%2F%2Fwww.translatum.gr%2Fforum%2Findex.php%3Faction%3D.xml%3Btype%3Drss&chan=y&num=7&targ=y&html=y">View RSS feed</a>

You can even use css to style it. This is an example css (you can simply include it in your own css and/or modify it if you like).

Code: [Select]
/* begin styles for RSS Feed */

.rss_box {
margin: 0.5em;
width: 440px;
background-color: #AEBB95;
         border: 1px dashed #AEBB95;

.rss_items {
padding:0.5em; 0.5em;
p.rss_title {padding:0.5em;}
.rss_title {
text-decoration: none;
font-family: small tahoma, "Bitstream Vera Sans", "Trebuchet MS", "Lucida Grande", lucida, helvetica, sans-serif;
font-size: 10px;
margin: 0px;
text-align: left;

.rss_item  {
  font-family: small tahoma, "Bitstream Vera Sans", "Trebuchet MS", "Lucida Grande", lucida, helvetica, sans-serif;
  font-size: 10px;
  font-weight : normal;

.rss_item a {
text-decoration : none;
color: white;
font-size: 12px;
font-family:small tahoma, "Bitstream Vera Sans", "Trebuchet MS", "Lucida Grande", lucida, helvetica, sans-serif;

.rss_item a:visited {

.rss_date {
font-size: 85%;
font-weight : normal;
color: #fff;
« Last Edit: 21 Jul, 2005, 02:46:19 by spiros »


Search Tools