Infinite Kottu


Made a few small changes to Kottu, most under the hood. The only noticeable one is when you scroll down to the bottom of the page. There’s like 45 posts on the main page, but with so many people even that’s barely one day. Now when you scroll down the thing’ll say ‘getting more content’ and load a fresh batch. If you’re scrolling at a normal speed on a decent connection it should be pretty much invisible, the page’ll just go on forever. This is thanks to the genius Humanize History plugin by RadGeek who, incidentally, wrote the FeedWordpress plugin that drives Kottu. Besides that, I’ve upgraded WordPress, found and fixed this bullshit spam security exploit and cleaned up the database and implemented caching. Mobile Kottu is also enabled, but I can’t test it on my clock radio phone.

Uh, I guess not much more to explain besides that. The backend was completely horrid, the server host actually shut it down a few days ago if anyone noticed. Upgraded everything which should help. I also discovered that some security exploit had stuck like 18,000 spam links in the header and footer (invisible to users, but not Google). Cleaned that and secured the site as much as I know how. WordPress 2.5 should take care of most of these things.

Future Things

One other thing I’d like to do is tags. I can tag all the old posts automatically using this hook-in to the Reuters Semantic Engine (Calais). Pretty cool thing they’ve built, it picks out appropriate tags out of piles of stuff. Thing is that I’d have to tag new posts automatically. I need some php modifications to get it to simply tag everything automatically as its posted, with no human intervention. Any coders?

Other stuff would be auto-thumbnailing of images in posts, seems possible but I can’t get the Post Thumbs plugin to work. Dunno what else. Guess a contact form would be a good idea, but the main janitorial stuff is outta the way.

RSS feed | Trackback URI

7 Comments »

2008-06-21 20:42:53

Pretty cool man

 
2008-06-22 00:53:58

Sweet.

 
2008-06-22 13:00:39

cool
and it works on mac (safari 3.x)

 
2008-06-22 13:13:19

hmmm
when content from the next page (say page 2) is fetched the script doesnt clear the current page (page 1)
it shows the current page then the kottu header with the five images and then the second page

——- page 1 ——–
| kottu header |—–| |
| | | |
| post xxxxx |—–| |
| |–| |–| |
——- footer ————–

fetching content for you…

——- page 1 ——–
| kottu header |—–| |
| | | |
| post xxxxx |—–| |
| |–| |–| |
——- footer ————–
——- page 2 ——–
| kottu header |—–| |
| | | |
| post xxxxx |—–| |
| |–| |–| |
——- footer ————–

is it supposed to be like that?
i’m using safari 3.1.1

2008-06-22 20:50:00

Can you send me a screenshot, or post a link to one? I can test it on Safari tomorrow.

 
2008-06-23 10:56:30

Oh yeah, I see it. It loads the header again. I’ll check it out, but it’s not catastrophic and I think few enough people use Safari that it’s manageable. That may take a while to fix

 
 
2008-06-23 12:43:32

just an observation
:)

 
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

email indi AT indi.ca.


Recent Comments


Buying Appliances Online (Singer) (3)

Angel: Well… not anymore!

cynical gal: and she washes your underwear???

cynical gal: you have a MAID????

Unequal Marriage In Sri Lanka (The Foreign Kind) (17)

Carasek: “Please fix the grammatical errors in the above.” Please fix the grammatical error in the above sentence.

Carasek: Hi Roshnee In your rush to kindness about the Immigration Department, I respectfully comment that you do not state a fully accurate position. I have also had repeat communications with the Immigration Department and have found them to be...

Chaminda: aaah but with a bit of something something under the table…. all options are open….

Sri Lanka To Offer Dual Citizenship Again (7)

N: No visa needed, you need to travel on your US passport and get the US passport endorsed saying you are a SL dual citizen.

Avengers: A Review (7)

Chathura Sandeepa (@chathuras): “They could’ve literally had the Avengers meetup at a coffeeshop.R 21; I like it! :D

General Sarath Fonseka Out Soon? (8)

David Blacker: Shammi’s right. US pressure has nothing to do with it. Jailing the opposition never looks good, no matter how many charges tou cook up. MR probably is realizing this. Also, note the upcoming elections in crucial areas.

Future Porn (3)

David Blacker: Well, if they brought in a hard-core element as was done in the old Caligula, it might have worked. As porn, Zack & Miri just wasn’t porn. Check out some of the European indie movies and you’ll find that element. I...

Miss Travel. Alternately, Mistravel

This is highly dubious. Miss Travel is a travel/social networking site that connects ‘Generous’ and ‘Attractive’ travelers. To, like, travel together, I guess. It all seems a bit like arranged prostitution and trafficking. This is part of a broader online trend to connect rich men to younger, attractive women. Sites like seekingarrangement.com connects women to ‘sugar daddies’ already. I guess Miss Travel is just taking that trend international. Wait, I checked, it’s the same guy doing both.

Buying Appliances Online (Singer)

Sri Lankan domestics never say anything, they just stop coming. My maid just stopped coming and when I finally pressed her she said I needed to get a washing machine. I was hoping to ride this one out, but I’ve run out of underwear and I have no choice. I finally caved and bought a washing machine, from Singer, ONLINE. I put the online in all caps because it’s pretty awesome. I ordered the thing in like 15 minutes on Saturday and they just delivered it today. It’s pretty awesome, this brave new world.

Future Porn

There’s nothing wrong with pornography, but there’s a lot wrong with porn. Nothing wrong with watching people have sex, but too often that sex is brutal, senseless and coerced. I mean how many couples are coming on each others faces every day? Hence, philosopher king Alain de Botton – after calling for a new atheism, replete with temple – is now calling for a new pornography. One which is “fit for thoughtful, good human beings”. Good idea.

Sri Lanka To Offer Dual Citizenship Again

Sri Lanka is going to start offer dual citizenship again, for people of Sri Lanka descent (ie, those who migrated or their kids). Which is good. Still not an actual immigration policy, but getting, well getting back to the status quo. I got dual citizenship years ago.