» Home » Newsfeed
News feed
Our tips on your homepage? No problem, no matter whether you prefer XML, PHP or JavaScript...1. Our news feed with PHP
If you have a homepage you can display our latest tips on your website.If you have PHP on your website you copy the following code to your homepage:
<?
readfile("http://www.askmommy.org/newsfeed/show.php?type=1");
?>
2. Our news feed with JavaScript
If you can't use PHP you can display our news feed on your website with an easy JavaScript:<script src="http://www.askmommy.org/newsfeed/show.php?type=1&js=1"> </script>
3. CSS formatting
Use CSS to design the text. It is also possible to omit this CSS code. The text will just look like the rest of your website.
<style type="text/css">
<!--
.fmBorder { }
/* If you like to border the news feed:
e.g. border: 1px solid #FF0000
(creates a red border) */
.fmHeading { }
/* Design your heading */
.fmLink { }
/* Design your links */
//-->
</style>
4. Demo
Your news feed could look like this:5. XML / RSS
We also offer a RSS feed (XML file). You can view the latest tips with a RSS reader or you can use it with a server side scripting language such as PHP or ASP. The latest 15 tips will be displayed.Beat the Germans!
Our German sister web site "frag-mutti.de"
has already more than 8,000 tips! Let's show them that we can do better!
Submit your tip!
Newsletter
Subscribe to our newsletter, it's free!







