Quote:
Originally Posted by Geoserv I tried to setup on twitter, but perhaps I dont quite understand what it is suppose to do.
I dont see an option to have it import a feed, do I need to post my entried individually and manually?
Geoserv. |
No, you can't import a RSS feed into Twitter. You need to create some original content for Twitter and then think of ways of linking in to your site. I used to have the flash badge on the site, but took it off because of the lack of space
Twitter
I do have it on the History Nexus MySpace page though as way of trying to interlink all these together.
If you create a Facebook page you can import an RSS feed though, see my effort here:
History Nexus | Facebook
I don't add any content to this as the input RSS feed does all the work.
The Google Feed API.
For starters, see the page I made with this:
http://www.historynexus.net/history_news.php
It's just a way of adding a little more to the site to make it more attractive.
What this does is use javascript to add together RSS feeds of your choice. It also creates a CSS file which can be changed to suit your site. The javascript and CSS file is created by Google.
Google AJAX Feed API - Google Code
Go to the Google Wizard:
Google AJAX Feed API - Dynamic Feed Control Wizard
Play around with this. Then click generate code.
Don't add the javascript code to the base template - create a separate file and link it into to the head. My code reads as follows:
Code:
function LoadDynamicFeedControl() {
var feeds = [
{title: 'BBC: Today in History',
url: 'http://newsrss.bbc.co.uk/rss/on_this_day/front_page/rss.xml'
},
{title: 'HNN: Breaking News',
url: 'http://hnn.us/blogs/rss/41.xml'
},
{title: 'Blogs',
url: 'http://feeds.feedburner.com/HistoryNow'
},
{title: 'Digital History',
url: 'http://feeds.feedburner.com/digitalhistory'
}];
var options = {
stacked : true,
horizontal : false,
linkTarget : google.feeds.LINK_TARGET_SELF,
title : "History in the News",
numResults:10
}
new GFdynamicFeedControl(feeds, 'feed-control', options);
}
google.load('feeds', '1');
google.setOnLoadCallback(LoadDynamicFeedControl);
And is placed into my template as so:
<script type="text/javascript" src="/templates/yget/historynews.js"></script>
You will also need to link to the external Google javascript code as so:
<script src="http://www.google.com/uds/solutions/dynamicfeed/gfdynamicfeedcontrol.js" type="text/javascript"></script>
When you use the wizard it will also supply a link to the CSS file. I merely copied the contents of file and set up a separate CSS file on my site, obviously changing the CSS code to fit the design of History Nexus.
http://www.historynexus.net/template...istorynews.php
Ops, sorry, you also need the Google Feed API key.
In the head of my site it looks like this:
<script src="http://www.google.com/jsapi?key=ABQIAAAAteUS33V7G5LMfPUUbynb7hQghBl1OuFH kI7YPYHUfY55687A9RQgSydINq8aHGqX2NWyPhGdcF5PRg"
type="text/javascript"></script>
Sign up for one here:
Sign up for the Google AJAX Feed API - Google AJAX Feed API - Google Code