Dear visitor, welcome to MakeWebGames. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
), the drinking aspect and what we would do that Saturday evening. Ok, so that went on for about three or four hours and then we went out and did some stuff. Categories: Life as usual
Tags: CONCEPT ART, design, template, layout, city, art, graphics, freedom, freedom city
Tags: PHP, coding, code, programming
Categories: Coding
Tags: Drew Brees, Saints, Super Bowl
|
|
PHP Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
<?php
function getFeed($feed_url, $posts_to_show) {
try
{
$content = file_get_contents($feed_url);
$x = new SimpleXmlElement($content);
echo "";
$i = 0;
while ($i < $posts_to_show){
echo "<font id='content'><a href=\"" . $x->channel->item[$i]->link . "\" title=\"" . $x->channel->item[$i]->title . "\" target=\"_blank\">" . $x->channel->item[$i]->title . "</a>
<br />
".$x->channel->item[$i]->pubDate ."
<br />
".$x->channel->item[$i]->category ."
<br />
".$x->channel->item[$i]->description ."</font><br /><br />";
$i++;
}
echo "<br />";
}
catch (Exception $e)
{
echo "<p>The blog feed doesn't seem to be available at the moment...</p>";
}
}
getFeed("http://www.yourdomain.com/?feed=rss2", 5);
?>
|
Tags: html, css, Javascript, PHP, MySQL
Categories: CSS, HTML, Javascript, MySQL, PHP
Tags: CONCEPT ART, digital art, sketches
. Have fun. By Taxed (Monday, January 4th 2010, 12:10pm)
Tags: research, development, thoughts, theories
Tags: twitter
Categories: social networking
Tags: Intro, Introduction, Magic, Magictallguy, MTG
Categories: A Small Introduction