Good day, dear readers!
I am currently working on a single-page website for my friend's band and have decided to incorporate a Tumblr feed instead of a traditional news section. The only issue is that I lack expertise in JS / JQuery.
As of now, the posts are displaying correctly, but the feed currently showcases the post title, brief description, and then the date. I wish to rearrange this order so that the date appears before the title. To achieve this, I have resorted to using some CSS to adjust the positioning (position: relative).
Here is what I have included in the header section:
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
And here is what I have added just before the closing body tag:
<script type="text/javascript">
google.load("feeds", "1");
function OnLoad() {
var feedControl = new google.feeds.FeedControl();
feedControl.setNumEntries(3);
feedControl.addFeed("http://xxxxxxxxxx.tumblr.com/rss");
feedControl.draw(document.getElementById("recentPosts"));
}
google.setOnLoadCallback(OnLoad);
</script>
If anyone has any suggestions on how I can customize the output so that the date is displayed before the title, I would greatly appreciate it!
Warm regards, John