Textpattern Forum

You are not logged in. Register | Login | Help

#41 2005-06-01 14:13:38

kennethlove666
Member
From: arkansas
Registered: 2004-04-27
Posts: 107
Website

Re: [plugin] [ORPHAN] rss_live_archive

deleted the cache files, republished an article and it’s still the same.

(oh, and thanks for the complement sekhu)


Listen to Kenneth

Offline

#42 2005-06-01 14:32:31

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: [plugin] [ORPHAN] rss_live_archive

I have a question about the way it handles having javascript turned off. Would it be possible to have your plugin check and see if the user has javascript turned on then if not include the alternate content?

The way it is now if the user has js on the live_archive content loads then all the alternate content (say rss_superarchive) loads. It seems like a whole lot of uneccessary content and loading time for those (the majority) who have js turned on.

Last edited by tinyfly (2005-06-01 14:32:53)

Offline

#43 2005-06-01 15:22:03

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

Re: [plugin] [ORPHAN] rss_live_archive

well this works for me as I said in some random context – i’m going to try the update and see if it makes any validation changes, and if it works first time. I’ll report back later

EDIT: I uploaded the new release and it still displays the year plus it now validates to 1.1 – brilliant stuff rob, and thanks.

I don’t know how consistent this is. however, in adding the year. My only useless suggestion is keeping hitting publish or maybe add a comment to one entry as it seems to update when a comment or new entry is made?

The path to my cache dir is simply the default to the tmp. Since I’m using the front page relesae of TXP the extension tav was a little odd, but it worked fine in the end. You may want to add BOTH the sections AND the categories, enable caching and then again start publishing some items or republishing existing ones. Can’t really say for certain.

Last edited by sekhu (2005-06-01 15:31:54)

Offline

#44 2005-06-01 15:42:57

kennethlove666
Member
From: arkansas
Registered: 2004-04-27
Posts: 107
Website

Re: [plugin] [ORPHAN] rss_live_archive

i went back to 0.4 and it works with years.


Listen to Kenneth

Offline

#45 2005-06-01 15:48:57

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

Re: [plugin] [ORPHAN] rss_live_archive

ken – just wondering if you had years working originally, upgraded and then you had this problem? If 0.5 as the first release you tried, you could upgrade it with the cache set from 0.4 and then update to 0.5. Just a thought. Worked for me anyway

Offline

#46 2005-06-01 17:28:21

theturninggate
Member
Registered: 2004-11-07
Posts: 185
Website

Re: [plugin] [ORPHAN] rss_live_archive

Tinyfly: I got around this problem by setting up a second page using the regular rss_suparchive plugin. Then, instead of wrapping that plugin with the live archive tags, I used this:

[txp:rss_live_archive />[p>This page requires Javascript to be enabled. Please try using the [a href=”…”>Static Article Listing[/a>[/p>
[/txp:rss_live_archive />

It requires an extra click by the user to access the archives, but since most people have Javascript enabled it will be only a small few that ever see this, and I prefer it to loading all that archive data for every person who visits, especially the ones that don’t need it.

Offline

#47 2005-06-01 18:07:18

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: [plugin] [ORPHAN] rss_live_archive

theturninggate, Great Idea I think I will do that.

Offline

#48 2005-06-01 20:33:28

theturninggate
Member
Registered: 2004-11-07
Posts: 185
Website

Re: [plugin] [ORPHAN] rss_live_archive

>theturninggate – Odd still. You deleted all of the .dat files and it still recreated the cache without the years? I made one other minor change although I don’t know that it was causing any of this. Can you try downloading again, deleting the .dat files and regenerating the cache?

wilshire: I deleted the .dat files, installed the latest version, regenerated the cache and … no years.

Offline

#49 2005-06-01 21:04:57

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: [plugin] [ORPHAN] rss_live_archive

I also have weird stuff going on. I renamed the title of one of my articles which was in the month of June (which has only that one article). Now when I go to the archives initially the year shows up and the above june article shows up but the month name “June” does not show up. The only way I can get the June article to show up is to refresh the archive page.

I don’t know if the plugin code is dependent on the article title for its magic but it should use URL-only title in the code but display the article title in the list.

Update: deleting the .dat files fixed it

Last edited by tinyfly (2005-06-01 21:07:44)

Offline

#50 2005-06-01 22:09:55

terrence
New Member
Registered: 2004-12-14
Posts: 3
Website

Re: [plugin] [ORPHAN] rss_live_archive

Hmm, I’m having oddities going on as well. I initially had the plugin working completely, but when I published an article today (not in the default article section) the live archives disappeared. The code I am using is this:

< txp:rss_live_archive showcommentscount=“0” >
< txp:rss_suparchive showcats=“1” showsubdate=“1” dateformat=“F Y” limit=“400” / >
< /txp:rss_live_archive >

When it was working I was using /tmp as my file upload directory. When it stopped working, I changed it to the absolute path of my files directory, and I can now see all the .dat files in there. Still no live archives. Just a loading message and then nothing.

I’ve tried removing the .dat files and resaving an article/new comments. Link to my archives page: http://wombatsignals.ca/archives/

edit: it seems if I delete the latest article that’s not in the article section, the live archives pops back again. Is there a problem with showing live archives of one section while having the last posted article not be in that section?

Last edited by terrence (2005-06-01 23:15:08)

Offline

Board footer

Powered by FluxBB