How To Set Up A Facebook RSS Feed Reader Application For Your Blog - Page 4

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Sun, 2007-09-02 17:42. ::

6 Fine-Tune The Feed Reader

We can now fine-tune the appearance of our RSS feed a little bit, for example we can add a title to it using the <fb:header> tag. Edit index.php and replace the $fbml = '<div style="margin:0 10px 0 10px;">'; line with this line:

vi /var/www/fb/htf_feed_reader/index.php

[...]
$fbml = '<fb:header>HowtoForge RSS Feed Reader</fb:header><div style="margin:0 10px 0 10px;">';
[...]

This is how it will look. Our feed has now a title/header:

The same on the profile page:

If you don't want the title to consume that much space, you can disable padding like this:

vi /var/www/fb/htf_feed_reader/index.php

[...]
$fbml = '<fb:header decoration="no_padding">HowtoForge RSS Feed Reader</fb:header><div style="margin:0 10px 0 10px;">';
[...]

This is how it will look:


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.