Home

Index

Post

New

Archive

RSS

Syndicate
View
 

Carry a Headline

  Syndicate Carry a headline on your own website. FREE feed. Increase site readership and return visitors to your own site by adding fresh content. Copy and paste just 1 line of code to carry a headline on your own website!

All Headlines

  • Carry All Headlines category on your website
  • Copy and paste this code into your webpage

<script type="text/javascript" src="http://www.bonjourlafrance.net/news/modules/news/js/content-syndicate.php"></script>



France Train Travel

  • Carry France Train Travel headlines on your website
  • Copy and paste this code into your webpage

<script type="text/javascript" src="http://www.bonjourlafrance.net/news/modules/news/js/content-syndicate.php?c=France+Train+Travel"></script>



Tourism in France

  • Carry Tourism in France headlines on your website
  • Copy and paste this code into your webpage

<script type="text/javascript" src="http://www.bonjourlafrance.net/news/modules/news/js/content-syndicate.php?c=Tourism+in+France"></script>



Customize your headlines

All headlines feed with extras, example

content-syndicate.php?i=7&tw=200&fs=14



Single Category feed with extras, example

content-syndicate.php?c=Your+Biz&i=7&tw=200&fs=14



Finetuning the display

Number of headline items

To choose the number of headline items add i=nn where nn is the number of items to show. The variable 'i' means items. 10 headlines are shown by default.

Example: content-syndicate.php?i=7

Table width

The headlines are shown in a table. The default width of the table is 200 pixels. To change the width of this table add tw=nnn where nnn is the width in pixels. The variable 'tw' means table width.

Example: content-syndicate.php?tw=200

The tw will expand to fit the largest word in the table regardless of your choice. If a single headline word is long then the table will expand to fit the long word.

Font-size

To choose the font-size add fs=nn where nn is the numeric value in pixels to show. The variable 'fs' means font-size. The default is 10 pixels.

Example: content-syndicate.php?fs=14

Combine

Combine items, table width and font-size.

Example: content-syndicate.php?c=Your+Biz&i=7&tw=200&fs=14

Formatting traps to watch out for

  • server cache
  • browser cache
  • putting newsfeed inside another table which has tags, divs, %widths, spans or inherited css formatting which may override your newsfeed formatting styles
  • a good approach is to test your newsfeed formatting on a blank page - that way your styles are not affected by any other code.

Even more headline customization

CSS Apply CSS styles to headlines.

Apply CSS styles to headlines for a completely customized look and feel.



Happy headlining! Feel free to ask if you have questions.

Link to our page



Example

<a href="http://www.bonjourlafrance.net/news/index.php">France Travel News & Views</a>

Result

France Travel News & Views


Where would you like to go next?



 
Home - News Index - Recent - Post - Syndicate - Contact

Copyright © 2008 bonjourlafrance.net. All rights reserved. Documentation.