FM

Tip of the day

Our tips on your homepage? No problem, no matter whether you prefer XML, PHP or JavaScript...

1. The tip of the day with PHP

If you have a homepage you can display our tip of the day on your website.

If you have PHP on your website you copy the following code to your homepage:
<?
readfile("http://www.askmom.net/newsfeed/show.php?type=2");
?>

2. The tip of the day with JavaScript

If you can't use PHP you can display our tip of the day on your website with an easy JavaScript:
<script
src="http://www.askmom.net/newsfeed/show.php?type=2&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 your tip of the day:
   e.g. border: 1px solid #FF0000
   (creates a red border) */

.fmHeading {  }
/* Design your heading */

.fmHeadingLink {  }
/* Design the heading link */

.fmArticle {  }
/* Design the tip */

.fmImage {  }
/* If the logo should be invisible type display:none */

.fmLink {  }
/* Designs the "presented by" link */

//-->

</style>

4. Demo

Your tip of the day 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.
Our German sister web site "frag-mutti.de" has already more than 13,000 tips! Let's show them that we can do better!

! Submit your tip!

Newsletter

Newlsetter Subscribe to our newsletter, it's free!

Follow us!

RSS   Twitter   Facebook   Add to Google