Go to footer

Skip to content


Listing of the latest forum posts on the flag front page

Happenings on the Pierre Proudhon Memorial Computer

Moderators: Yuda, Canteloupe


Listing of the latest forum posts on the flag front page

Postby Canteloupe » Fri Mar 30, 2007 9:37 pm

The lists under 'latest on flag' and 'hot discussions' (from all other fora) are now updated with the latest 10 and 15 posts listed, respectively. Some selected RSS feeds are provided under 'news.'

Btw, I added this post just to run a test on the mod.
So far as I can remember, there is not one word in the Gospels in praise of intelligence. — Bertrand Russell

The whole aim of practical politics is to keep the populace alarmed — and hence clamorous to be led to safety — by menacing it with an endless series of hobgoblins, all of them imaginary. — H.L. Mencken
User avatar
Canteloupe
Thomas Paine
 
Posts: 270
Joined: Wed Feb 28, 2001 5:11 am
Location: Mae East


Postby Canteloupe » Fri Apr 06, 2007 6:22 am

Additional: The IndyMedia rss feeds include those from parts of the world where character sets other than the Latin type are used. The web page and the software handling the feeds are using UTF-8 encoding. However, this is not enough to handle East asia character sets (Japan, e.g.). Some further processing not available here is needed to make the conversion work in those cases. As a result, an item from that part of the world will show up with question marks as place holders instead of the original content.
So far as I can remember, there is not one word in the Gospels in praise of intelligence. — Bertrand Russell

The whole aim of practical politics is to keep the populace alarmed — and hence clamorous to be led to safety — by menacing it with an endless series of hobgoblins, all of them imaginary. — H.L. Mencken
User avatar
Canteloupe
Thomas Paine
 
Posts: 270
Joined: Wed Feb 28, 2001 5:11 am
Location: Mae East


Postby Canteloupe » Wed Apr 18, 2007 6:15 am

Another additional: The CaRP rss to html converter used here has a lot of hidden features that you have to nose around to find. I thought there must be a way to insert a link target attribute into the feeds, but didn't know exactly what until now.

The target I've added is blank. This means that when you click on a link in one of the news feeds your browser will behave the way it's been configured for blank targets. By default, the linked doc will open in a new window. However, browsers such as Firefox can be configured to open such links in a new tab. It would be nice to have a tab target, but there's no such animal in today's user agent world.
So far as I can remember, there is not one word in the Gospels in praise of intelligence. — Bertrand Russell

The whole aim of practical politics is to keep the populace alarmed — and hence clamorous to be led to safety — by menacing it with an endless series of hobgoblins, all of them imaginary. — H.L. Mencken
User avatar
Canteloupe
Thomas Paine
 
Posts: 270
Joined: Wed Feb 28, 2001 5:11 am
Location: Mae East


Postby Yuda » Wed Apr 18, 2007 4:19 pm

Canteloupe wrote:However, browsers such as Firefox can be configured to open such links in a new tab. It would be nice to have a tab target, but there's no such animal in today's user agent world.


Oh how I have longed for such a feature myself, hopefully with IE7 waking up to tabbed browsing it won't be too far away. There's not a javascript to do this?

edit: I've had a quick look around and it looks like CSS3 will have a some new target properties:

http://www.w3.org/TR/css3-hyperlinks/
# target-name: current | root | parent | new | modal | <string>
# target-new: window | tab | none
# target-position: above | behind | front | back
# target: <target> || <target> || <target>

neat!
Last edited by Yuda on Wed Apr 18, 2007 4:28 pm, edited 1 time in total.
User avatar
Yuda
Zen Master
 
Posts: 1540
Joined: Wed Apr 03, 2002 7:21 pm
Location: Recently Occupied Territory Formally Known As Aotearoa


Postby Yuda » Wed Apr 18, 2007 4:22 pm

btw you can use [ctrl]+left mouse bttn to open a link in a new tab
User avatar
Yuda
Zen Master
 
Posts: 1540
Joined: Wed Apr 03, 2002 7:21 pm
Location: Recently Occupied Territory Formally Known As Aotearoa


Postby Canteloupe » Fri Apr 20, 2007 1:03 pm

Thanks for the tips, Yuda! I'm thinking of the chaps and chappesses such as myself who tend to click on a link without remembering those options. On my Mac, in any event, I would hold down the Apple/Command key and click on a link.

Another problem with the feeds are that some are less well-formed than others, such as the one from InfoShop News (aka Geeklog jungle) at times. When they turn up, the converter goes wonky and throws an error passed to it by the PHP xml parser. There's no apparent test I can find that will detect when an error has occurred before everything goes on display. But the developer has a config thingy that can tell CaRP not to show any errors. I've just turned that on. It means that on those occasions when bad feeds are detected, there will be no links. Just the header that presides over them (unfortunately).
So far as I can remember, there is not one word in the Gospels in praise of intelligence. — Bertrand Russell

The whole aim of practical politics is to keep the populace alarmed — and hence clamorous to be led to safety — by menacing it with an endless series of hobgoblins, all of them imaginary. — H.L. Mencken
User avatar
Canteloupe
Thomas Paine
 
Posts: 270
Joined: Wed Feb 28, 2001 5:11 am
Location: Mae East


Postby Yuda » Sun Apr 22, 2007 2:04 am

Sorry no help there, I've never really looked into rss or other feeds
User avatar
Yuda
Zen Master
 
Posts: 1540
Joined: Wed Apr 03, 2002 7:21 pm
Location: Recently Occupied Territory Formally Known As Aotearoa


Postby Canteloupe » Sun Apr 22, 2007 10:52 am

I think I may have helped things by adding another config item to CaRP that reads incoming as UTF-8. That should help make most feeds compliant. This should be the default if I have the latest version of CaRP installed, but it may be an older version without that feature. The home page redesign was done over a year ago, after all.
So far as I can remember, there is not one word in the Gospels in praise of intelligence. — Bertrand Russell

The whole aim of practical politics is to keep the populace alarmed — and hence clamorous to be led to safety — by menacing it with an endless series of hobgoblins, all of them imaginary. — H.L. Mencken
User avatar
Canteloupe
Thomas Paine
 
Posts: 270
Joined: Wed Feb 28, 2001 5:11 am
Location: Mae East


Postby Canteloupe » Thu May 03, 2007 12:43 pm

Slight tweak to the links to the forums on the right sidebar of the front page. They used to go straight to the the beginning of the topic. Which is likely to be a thundering nuisance to anyone who's been there already. Now the "last post" links go directly to the newest post that produced the link in the sidebar. Yippee-skippy!
So far as I can remember, there is not one word in the Gospels in praise of intelligence. — Bertrand Russell

The whole aim of practical politics is to keep the populace alarmed — and hence clamorous to be led to safety — by menacing it with an endless series of hobgoblins, all of them imaginary. — H.L. Mencken
User avatar
Canteloupe
Thomas Paine
 
Posts: 270
Joined: Wed Feb 28, 2001 5:11 am
Location: Mae East


Postby Canteloupe » Thu May 31, 2007 7:19 am

Right, I decided to remove the Huffington Post feed as it was getting too fluffy with entertainment news items intruding too often on the list. The site underwent an 'upgrade' last weekend which made it even worse than it was before. So, out the window it went.

In it's place, a feed from the english language al-Jazeera was added. And for real entertainment, a feed from The Register UK was also added.
So far as I can remember, there is not one word in the Gospels in praise of intelligence. — Bertrand Russell

The whole aim of practical politics is to keep the populace alarmed — and hence clamorous to be led to safety — by menacing it with an endless series of hobgoblins, all of them imaginary. — H.L. Mencken
User avatar
Canteloupe
Thomas Paine
 
Posts: 270
Joined: Wed Feb 28, 2001 5:11 am
Location: Mae East


Re: Listing of the latest forum posts on the flag front page

Postby Canteloupe » Thu Jun 05, 2008 5:56 am

After the recent forums upgrade to phpBB3, the module used to fetch posts from them and place them on the front page and what's new was rendered inoperable. The developer of the software to do that had ceased work on it, alas, before the newest version of phpBB was released. I gather from the phpBB developer and support forums that mods are being created to do the same thing, but nothing so far that is really as useful as the deprecated software.

However, it was possible to cobble together some code to make a portal on the what's new page and to add the latest posts on the front page with the help of boffins who look at such things. Along with managing a session and gathering up data to display, there was the problem of how to handle bbcode, smilies, and the like. Once that was worked out, it became possible to restore the services that were lost during the forums upgrade.
So far as I can remember, there is not one word in the Gospels in praise of intelligence. — Bertrand Russell

The whole aim of practical politics is to keep the populace alarmed — and hence clamorous to be led to safety — by menacing it with an endless series of hobgoblins, all of them imaginary. — H.L. Mencken
User avatar
Canteloupe
Thomas Paine
 
Posts: 270
Joined: Wed Feb 28, 2001 5:11 am
Location: Mae East


Return to Board index

Return to What's New on Flag

Who is online

Users browsing this forum: No registered users and 2 guests