![]() |
| | #1 (permalink) |
| Administrator | This tutorial will show you how to integrate feedburner.com into you pligg template. Example: http://urlbump.com What are the benefits. 1. Publicize your content and make it easy for people to subscribe. 2. Optimize distribution so that your content is properly formatted for all of the major directories and can be consumed by subscribers wherever they are. 3. Analyze your traffic to learn how many subscribers you have, where they're coming from and what they like best. 4. Make Moneyitize by participating in the FeedBurner Ad Network. Why not reward yourself for your effort? Files you will need to edit template/yourtemplate/pligg.tpl - All themes template/yourtemplate/header.tpl - in themes like yget template/yourtemplate/index_centre.tpl - in other themes if you cannot find the "sorts" code in header template/yourtemplate/upcoming_centre.tpl - in other themes if you cannot find the "sorts" code in header Okay first things first lets register an account over at feedburner.com, when you have registered your account it will ask for an RSS feed url from your pligg site first one to do is Published News section. Published News RSS http://yoursite.com/rss.php Follow the feedburner instruction to enter your first feed. Upcoming News RSS http://yoursite.com/rss.php?status=queued Repeat the process you have just done for the Published Feed and enter you Unpublished fedd url now. Once complete you should have two feeds listed in feedburner.com in your MyFeeds section. Navigate to MyFeeds section at feedburner and click the link for your published news feed. Within the new page navigation tabs at the top choose the "Publicize" tab then click Feedcount - show off your feed circulation button at the left of the page. Feedcount will allow you to style a button to match your pligg website colours. Choose your colours and what button you would like Static or Animated, once you have set these parameters click save at the bottom left. A texarea box should now appear with the button link code keep this page open for now.If using yget open the header.tpl and look for the code <ul id="sorts"> in yget code line 85 is unpublished news RSS and line 102 is Published news RSS. FInd Code: <a href="{$URL_rss}" target="_blank"><img src="{$my_pligg_base}/templates/{$the_template}/images/rss.gif" align="absmiddle"></a> Code: <a href="http://feeds.feedburner.com/yoursite/PublishedNews"><img src="http://feeds.feedburner.com/~fc/yoursite/PublishedNews?bg=FFFFFF&fg=000000&anim=1" height="26" width="88" style="border:0" alt="" align="absmiddle" /></a> Now repeat the process above for you upcoming RSS feed. ![]() Use feedburner in your browsers bookmark RSS tab in most browsers URL navigaion. [attachment=0]feedburner.rss.top.jpg[/attachment] Open templates/yourtemplate/pligg.tpl Find Code: <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="{$my_base_url}{$my_pligg_base}/rss.php"/> Code: <link rel="alternate" type="application/rss+xml" title="Published News RSS 2.0" href="http://feeds.feedburner.com/yoursite.com/PublishedNews"/> <link rel="alternate" type="application/rss+xml" title="Upcoming News RSS 2.0" href="http://feeds.feedburner.com/yoursite.com/UpcomingNews"/> I dont know how this would work on the yget template with the current position as my sorts navigation is on the left not the right of page. You could however use the default yget RSS image and still supply the feed from feedburner if the layout isn't right. or you could move the feed button away from sorts completely. Yget default RSS image with feedburner. Code: <a href="http://feeds.feedburner.com/yoursite/PublishedNews" target="_blank"><img src="{$my_pligg_base}/templates/{$the_template}/images/rss.gif" align="absmiddle"></a> Any questions or help required fire away. Adam |
| | |
| Sponsored Links | |
![]() |
| Thread Tools | |
| Display Modes | |
|
|