Featured Blogs
Suggest a blog

Templates News
BlogOut on 24th May in Singapore How to Upload Images to the File Manager Playing Music Video On Your Blog About the (new) BlogDrive WYSIWYG Editor Christmas Templates
All news...

Blogdrive Scripts
Sociable for Blogdrive - all-in-one Google Sitemap Generator for Blogdrive How to Edit Old Entry using Plain Text? Recent Entries Script (AJAX RSS Reader) Comments Page Tool - Auto Hide Entry
All scripts...

Layouts & Designs
The Cutting Edge Dusk Angel's Memories Gunbound ~ Ha'Je F.R.I.E.N.D.S. Blue nonsense world... so lost; so lonely Initial D S T R I F E - Final Fantasy fullmetalkupal ZGMF-X10A Freedom Gundam Seed
All layouts...

Enter your email for new updates:













Post Archive Script

 
Update: 07/12/05 A new and improved version of this feature has been created. It can be found at Recent Entries Script (AJAX RSS Reader). The Post Archive Script will be left here as archive.

This scripts will create a list of the few latest entries on your blog. It'll generate the list with title and followed by a direct link to that entry on that page. For an example, visit Guardian WatchBlog

Notes:
  1. Only works on BlogDrive
  2. Only list the entries you have on the viewing page
  3. Customizable: "archivetitle", "archivedot".
  4. Make sure your "Date Format" in "Blog Configuration" is set to the format "Sunday, January 30, 2005"
  5. Make sure your "Date/Time Select" in "Blog Configuration" is set to the time format

Instructions:
The Script is divided into 3 parts.
  1. 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 = "&raquo; ";

    // 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.)
  2. 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 -->
  3. Display - Put this in your Profile or Side HTML, wherever you want to display the entries.
    <div id=listpost></div>
Please try them out and any feedback is appreciated. Updated: 30/01/05
Several bugs fixed, added editing options and script shortened. Updated: 12/03/05


Posted at 01:50 am on Wednesday, January 19, 2005 by Admin

View Comments: 35