
Poniżej kod dokumentu/mojej stronki, natomiast rss_fetch to oddzielny plik.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<TITLE>XXXX </TITLE>
<META name="description" content="XXXXX ">
<META name="keywords" content="XXXXX">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META http-equiv="Content-Language" content="pl">
<META name="rating" content="General">
<META name="ROBOTS" content="index,follow">
<META name="REVISIT-AFTER" content="7 days">
<META name="ROBOTS" content="ALL">
<style type="text/css"><!--
h3 { text-align: justify;
font: italic normal 12pt georgia;
letter-spacing: 1px;
margin-bottom: 0px;
color: #555753;
margin: 0px;
padding: 0px;
}
h2 {
font: italic normal 14pt georgia;
letter-spacing: 1px;
margin-bottom: 0px;
color: #A3A697;
}
body {font: normal 10pt georgia;
color: #000000;
margin: 0px;
padding: 0px; }
p {
margin: 0px;
padding: 0px;
}
h1 {
font: italic normal 28pt Trebuchet MS;
letter-spacing: 1px;
margin-bottom: 0px;
color: #051829;
}
a:link {
font: normal 12pt ;
text-decoration: none;
color: #051829;
}
a:visited {
text-decoration: none;
color: #051829;
}
a:hover, a:active {
text-decoration: underline;
color: #800000;
}
-->
</style>
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0" link="#03223B" vlink="#003399" alink="#800000">
<table border="0" width="100%" style="background-repeat: repeat-x; background-position: center bottom" height="270">
<tr>
<td align="center" valign="bottom" style="background-image: url('../topbg.jpg'); background-repeat: repeat-x; background-position: center bottom">
<p align="center">
<img border="0" src="xxxx" width="760" height="241"></td>
</tr>
</table>
<table border="0" width="100%" height="71">
<tr>
<td>
<p align="center"></td>
</tr>
</table>
<div align="center">
<p align="center"><font size="5">xxxxx</font></p>
<p align="center"> </p>
<table border="0" width="734">
<tr>
<td width="188" align="left" valign="top">
<ul>
<li>
<a class="m" href="austria"><font size="4">xxx</font></a><font size="4">
</font>
</li>
<li>
<a class="m" href="belgia"><font size="4">xxxx</font></a><font size="4">
</font>
</li>
<li>
<a class="m" href="dania"><font size="4">xxxx</font></a></li>
<li>
</ul>
<p>
<img border="0" src="xxxx" align="right"></p>
<p> </td>
<td width="397" align="left" valign="top">
<p align="center"></p>
<table cellpadding="2" cellspacing="1" width="100%" align="center">
<tr>
<td width="100%" align="center" bgcolor="#d4d6d5">
<font size="5">xxxxx</font></td>
</tr>
<?php
include_once "./rss_fetch.php";
$html = " <tr>\n";
$html .= " <td >\n";
$html .= " <font size='+1'><a href='#{link}' target='_new'>#{title}</a></font><br />\n";
$html .= " #{description}<br />\n";
$html .= " <font >#{pubDate}<br /><br />\n";
$html .= " </td>\n";
$html .= " </tr>\n";
$rss = new rss_parser("http://rss.gazeta.pl/pub/rss/praca.xml", 10, $html, 1);
?>
</table>
</td>
<td width="135" align="left" valign="top"></td>
</tr>
</table>
</div>
<table border="0" width="100%" bgcolor="#03223B">
<tr>
<td> </td>
</tr>
</table>
</body>
</html>