Sons of Skadi

Just another WordPress weblog

Extended Live Archive 0.9+

Where it came from…

Some time ago, Jonas Rabbe released his wonderful Super Archives Plugin. Based on an idea discussed on Binary Bonsai, this plugin implements a dynamic, AJAXified way of digging into the archives of a blog.

I got to say I loved it. But down the road, being the annoying-never-satisfied guy I am, I got frustrated the plugin only allow that much of ordering. Eventually I wanted a way of applying the same scheme to categories instead of year/month.

Where it is now…

So here we were and here is the latest and final 0.9.x.

And if you enjoy the Extended Live Archive plugin in any way, feel free to…

Or you could just look into one of those ads: your clicks will be much appreciated !

 
Download Extended Live Archive
Version 0.9.4
Do not download and use ELA unless you understand what a beta version is.
This is not the latest version of the ELA plugin.
Therefore, there will be no support related to this code.
So, please, give a try to the 0.10.x version before even starting to curse me.

For a demonstration of what the latest version can do, head over to my archives page.

Enjoy, folks…


 

Blogons un peu...

spacer  Feed des commentaires
  • 1
    spacer

    Michael Heilemann,    Il y a 7 ans, 7 mois

    I’m loving it! spacer

  • 2
    spacer

    Chris,    Il y a 7 ans, 7 mois

    Very awesome. Thanks much for working this out.

    Sorry, I don’t speak Francais but I do appreciate your writing this up in English for we lesser peoples. spacer

  • 3
    spacer

    The General,    Il y a 7 ans, 7 mois

    This is an awesome addition to Jonas’s plugin! I’ve just finished incorporating it into my Archive page, it’s running perfectly, as is Jonas’s original!

    As a side note, for english speakers, you’ll want to modify the following file:

    /wp-content/plugins/af-extended-live-archive/includes/af-ela.php

    Comment out line 210, and uncomment line 211. Then either delete the “__(” and “)” surrounding each string of text (i.e., each month), or delete the entire line, and paste the following in its place:

    $month_names = array('', 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December');

    This will make the months appear in English rather than French.

    Again, brilliant plugin!

  • 4
    spacer

    Brendan,    Il y a 7 ans, 7 mois

    This is very very cool.

    Have implemented and must say being able to access categories as well as months really kicks ass.

    Nicely done!

  • 5
    spacer

    The General,    Il y a 7 ans, 7 mois

    Here is an interesting “bug” I’ve just discovered, which applies equally to Jonas’ original version.

    I’m going on vacation next week, so I’ve started writing posts which won’t be officially published until next week, when I’m on vacation. So far I’ve only done one, but it shows up in the live archives! Of course, when I click on it, I get a “404″ error.

    You can see the “bug” for yourselves on my Archives page; the first post, Tuesday Random Ten-Vacation… isn’t scheduled to publish until next Tuesday.

  • 6
    spacer

    CarLBanks,    Il y a 7 ans, 7 mois

    The only thing I prefer about Live Archives is the look of it. Could you somehow incorporate the look of Live Archives into this?

  • 7
    spacer

    BoBB,    Il y a 7 ans, 7 mois

    This plugin is awesome. I am currently setting it up and testing it out on my testblog, but you can be sure to see it on my site just as soon as macworld is over or I get bored enough and can find a power outlet spacer

  • 8
    spacer

    Arno,    Il y a 7 ans, 7 mois

    The General :
    Oops. The months in french instead of English slip thru my last check.
    Sorry about that : will be corrected soon.

    As for the post in the fitire : I take notes and will work on this.

    CarlBanks :
    The CSS file included in the package should contain the needed styling to give the little thing the look it has here, on my archives page. Isn’t that what the original Live Archive was looking like ? If not, please provide a like.

  • 9
    spacer

    CarLBanks,    Il y a 7 ans, 7 mois

    I’m using it on my site at project-c.info/archives/

    It actually isn’t all black and white like on your site.

  • 10
    spacer

    CarLBanks,    Il y a 7 ans, 7 mois

    My mistake, it is based on the CSS.

  • 11
    spacer

    Tom,    Il y a 7 ans, 7 mois

    In the words of paris hilton, “thats hot”.

  • 12
    spacer

    Arno,    Il y a 7 ans, 7 mois

    So second try : 0.9-beta is out. See above for the changelog.

    Comments, critics, recommandations and bug report are more than welcome.

  • 13
    spacer

    Chris,    Il y a 7 ans, 7 mois

    Only having one problem. I keep getting a ‘not found’ error for “af-ela.php” I know it’s there and I’ve gone so far as setting the permissions to 777 just to be sure. Am I missing something?

  • 14
    spacer

    Arno,    Il y a 7 ans, 7 mois

    Chris,

    As far as I can tell, a 755 should be enough. Anyway, this 404 sounds super weird. If you have copied over the af-extended-live-archive directory in your plugins folder, I don’t see any explanation.

    Care to give some details ?

  • 15
    spacer

    Chris,    Il y a 7 ans, 7 mois

    sandbox.restiffbard.com/archives/

    ok, I’ve copied the folder to the plugins directory. I set permissions to 755. Added the “af_ela_super_archive()” function to the template.

    2 things, possibly unrelated. 1, No posts show up in category view for “uncategorized”. 2. The activity log for the page keeps throwing up a “not found” error for af-ela.php and any calls to af-ela.php.

    I don’t think this is really a 404. You can go to:
    sandbox.restiffbard.com/wp-content/plugins/af-extended-live-archive/includes/af-ela.php?
    and see the file. It’s there but, not.

    I feel like this is some sort of Zen mystery. I’m also sure this will all end up being my fault and I’ve just embarrased myself in front of thousands of people. spacer

  • 16
    spacer

    Arno,    Il y a 7 ans, 7 mois

    Chris,

    For what I can see, the cache file for the Uncategorized category is empty (cat-1.dat). Did you try to empty the cache ?

    It may also be some issue with the time associated to the posts : it seems those are new. Is your GMT Offset set properly ?

  • 17
    spacer

    Chris,    Il y a 7 ans, 7 mois

    The offset seems right. EST -4. It’s 2:28am and that’s what WordPress says the time is.

    As for emptying the Uncategorized cat-1.dat I wouldn’t know how. Terribly sorry I’m not more help with this. I do appreciate your trying, though.

  • 18
    spacer

    Arno,    Il y a 7 ans, 7 mois

    Emptying the cache : in the admin panel, just go in the option menu, then go in the Ext. Live Archive sub-menu and hit the button there.

    Worse case scenario, trash the entire af-extended-live-archive directory in wp-content and reload the archives page after that.

  • 19
    spacer

    The General,    Il y a 7 ans, 7 mois

    Hey Arno,

    Just uploaded 0.9-beta2 of the plugin. The months now default to English, as you listed. However, I’m still seeing the future post appear, and it still leads to a 404 error when I try to select it. Not a super big deal for me, but I thought you might like to know. You can see the latest version in action here if you’d like to see what it’s doing: Archives.

    Again, I can’t tell you how excellent I think this plugin is!

  • 20
    spacer

    kusaeni,    Il y a 7 ans, 7 mois

    nice , I loving it ….

  • 21
    spacer

    claus,    Il y a 7 ans, 7 mois

    Bonjour,

    Your plug-in looks awesome. However, I could not implement it on my site. I always get “Could not create cache. Make sure the wp-content folder is writable by the web server.” wp-content sure is writable, othe plugins do write to it. I tried some tweaking around, but so far nothing has paid off (I’m a php newbie anyway). Any idea what could be wrong?

  • 22
    spacer

    Arno,    Il y a 7 ans, 7 mois

    The General,
    Did you rebuild your cache through the admin option menu ?

    Claus,
    2 reasons may explain thing :
    #1, the PHP code can’t create the directory and set the proper permission (775) on it.
    #2, the PHP code can’t create the files inside this directory

    Under wp-content, do you have a af-extended-live-archive directory ? If so, what to you find inside it ?

  • 23
    spacer

    CarLBanks,    Il y a 7 ans, 7 mois

    I’m just curious about one thing. On my site the live archives – the original plugin, is showing future posts that aren’t on the site. Have you added a safety feature for this?

  • 24
    spacer

    Arno,    Il y a 7 ans, 7 mois

    CarLBanks,

    Indeed : Future posts should not show up in the by/month nor in the by/category lists anymore. Get yourself the beta2, empty your cache in the admin option panel to have a look at it

  • 25
    spacer

    dumb as snot,    Il y a 7 ans, 7 mois

    I can’t for the life of me figure out how to implement this plugin. I’ve activated it, but the only options I can see in the admin section is to clear the cache.

    How do I make the page that shows the archives? All I can find in the documentation is stuff that assumes I already know how to code php, and obviously I don’t. Any help for the rest of us dumber than snot regular people?

  • 26
    spacer

    Bobly,    Il y a 7 ans, 7 mois

    I activated and went to admin options and cleared cache. All I get it this error:

    210

    Any idea why that would be?

  • 27
    spacer

    Arno,    Il y a 7 ans, 7 mois

    Bobby,

    to be honest, I don’t really know what’s wrong here. The mkdir call is only done if the directory doesn’t exist already. If your never built the cache before cleaning it up, this should go ahead and built it for you

gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.