Using the Widget

From KitchenTwo

Jump to: navigation, search

B-Net Widget

The B-Net widget is capable of displaying the headlines from your blog network on other sites.

It means each blog in the network can display headlines from across the network. You can set the number of headlines from each blog displayed by editing the config in B-Net.

The widget outputs headlines wrapped in li tags like this

<li>Headline</li>

Implementation

To implement the widget you need to add a small snippet of code to the blog where you want the headlines to display.


Wordpress

To use in a Wordpress blog you will need to edit the sidebar.php file in your theme.

Add this piece of code where you want the headlines to display.

<h2>Network Headlines</h2>
<ul>
<script type="text/javascript" src="http://yourdomain.com/widget.php"></script>
</ul>

Change yourdomain.com to the domain name you have B-Net installed on.

Personal tools