Recent Post Script in Blogdrive
Notes:
- Only works on BlogDrive
- Only list the entries you have on the viewing page
- Customizable: "archivetitle", "archivedot".
- Make sure your "Date Format" in "Blog Configuration" is set to
the format "Sunday, January 30, 2005"
- Make sure your "Date/Time Select" in "Blog Configuration" is set
to the time format
Instructions:
The Script is divided into 3 parts.
- Header - Install this script in the "Main Template", anywhere
between here: (editable)
<head> ... </head>
<!-- Entry Archive (Header) Begin -->
<script type="text/javascript">
<!--// http://design.blogdrive.com/
// Edit accordingly
archivetitle = "<b>Current Entries</b><br>";
archivedot = "» ";
// Optional: insert your blog address between the quotes
// for example: archiveurl = "http://design.blogdrive.com/";
archiveurl = "";
//--></script>
<script type="text/javascript"
src="http://design.blogdrive.com/scripts/archive"></script>
<!-- Entry Archive (Header) End -->
|
(Optional: "archiveurl" are meant for cases where base URL
isn't the same as your blog address.)
- Entry - Install this script in the "Main Template", anywhere
between here: (do not edit, some layouts may not have a
"dateheader/datefooter" tag)
<blog>
<dateheader></dateheader>
...
<datefooter></datefooter>
</blog>
<!-- Entry Archive (Entry) Begin -->
<span id="archive [date] [time]" style="display:none">[blog
title]</span>
<script type="text/javascript"><!--//
blogtitle = document.getElementById("archive [date]
[time]").innerHTML;
getPost("[date]", "[time]", blogtitle);
//--></script>
<!-- Entry Archive (Entry) End -->
|
- Display - Put this in your Profile or Side HTML, wherever you
want to display the entries.
<!-- Recent Entries Script Starts -->
<div id="rssreaderstatus" style="display:none"></div>
<div id="ajaxreader"></div>
<script type="text/javascript"><!--
var blogurl = ""; // complete blog url
var numberOfPost = 10;
var rssreaderTitle = "<b>Recent Post:</b><br>";
var rssreaderDot = "»";
//--></script>
<script type="text/javascript"
src="http://design.blogdrive.com/scripts/rssreader"></script>
<!-- Recent Entries Script Ends -->
|