indica 2.0

server racks

what a server looks like, sorta

I moved indi.ca to a Textdrive server, which took forever.  On a fast connection it’d take 30 minutes, but it took a whole day here.  Some of the apostrophes are a little screwed up and I lost two comments.  This is an upgrade after a year, so there are a few changes.  There are a few features that make commenting easier, and hopefully more fun. Now you can choose a graphical avatar, and respond directly to other people.  One can also subscribe to comments via email, and say Cialis and Viagra to your hearts content, cause I don’t need to filter out Spam words anymore.  This post is to detail the new features here, and on two other sites, and to explain why I’ve been so AWOL.

indi.ca

This is my personal site.  Never really got many comments, but now it sorta does.  I’ve tried to adapt it to that, without getting too bloated with features.  On the new server I upgraded to WordPress 1.5 and added…

  • Threaded Comments: Under each comment there’s a link that says ‘reply to this comment‘.  The comment will appear nested under the exact comment it’s referencing, rather than at the bottom of the queue.
  • Gravatars: A gravatar (global avatar) is a little icon that represents you across blogs.  It connects your email to an image so that it follows you around the web.  I’d say that about 50% of the sites I read use them.  You can get one via this link, and I added a checkbox to the comments that can automagically sign you up.
  • Bad Behavior Spam Filter: Before I was automatically deleting anything with words like ‘Cialis’ or ‘incest’, etc.  That, however, also deleted some legitimate posts without warning.  Apparently Bad Behavior stops spambots before they can write anything, using some server analysis I don’t understand.
  • Flickr Photos: The server-side galleries I was using were stupid and cumbersome.  I’m hosting everything on Flickr now.
  • Recent Comments: now displays the text of the most recent comments.

educationforum.lk

This is a site I’ve been doing for Amma.  Right now it’s a few papers and some data, but it’ll hopefully expand to include some of the Excel/Access data she has.  Not launching it, just something I’ve been working on.  Only a few notable features so far,

  • Sortable Tables: Under institutions and courses, if you click the table header it’ll sort according to that.  The tables are copied in from Excel.  Uses javascript, so the sort is instant.
  • PDF Creation: This can dynamically make a PDF out of any post, category or month/year.  Kinda half works, but could be cool.  Can also generate PDFs including Sinhala/Tamil fonts, which the user wouldn’t have to download.

webhamuva.org

Again, not ready to launch cause the data isn’t in yet.  This is a collaboration between Sarvodaya and LIRNEasia.  Sarvodaya holds these Pavul Hamuvas (family gatherings) in villages across Sri Lanka.  The goal of Webhamuva is to transcribe/translate some of these Pavul Hamuvas and put them online.  As of now there are only reports from Kalutara and Hambantota.

  • Collapsible More Link: The front page shows only an excerpt.  When you click the ‘more’ link it instantly loads the full post on the very same page, no reloading.
  • Word-Style Text Editor: Using this everywhere else too, but it completely takes the code out of blogging.  Makes it like typing a word document.

Been trying to make sites that are more interactive and faster, using AJAX/Javascripting.  Basically, to make sites that respond like Flash – without sucking.  Will try to do something further when I redesign LIRNEasia. 

To Do

RSS feed | Trackback URI

5 Comments »

2005-07-06 13:06:45

Interesting set of tools you’re using here, and for the projects. Wonder what that Freebase thing is – a WP plugin?

indi
2005-07-06 13:55:56

Freebase isn’t anything really, just an idea. I want make WordPress capable of handling database management, where you can set your own fields. Descriptions of Vocational Courses, for example. There are like 8 fields (location, cost, etc), and it’d be nice if people could leave comments. The options I ‘ve found are

1. Copy the table directly in from Excel. Works OK, and not hard to update. However, it’s not especially searchable and I can’t add comments cause each entry is just HTML, not a database-driven post. It’s basically not scalable.

2. Use Structured Blogging (structuredblogging.org). These lets me hack in fields like cost, rating etc. However, it outputs as XML, which leaves out some of the benefits of using a database – like advanced search.

3. Use Custom Fields. This is what I’m working on. There’s a plugin to draw out Custom Fields, the only problem is getting a user interface where the same custom fields will appear every time. That is, you’d have access to ‘Write Post’, ‘Write Page’, ‘Write Course’ and ‘Write Institution’. Write Post gives you ‘excerpt’, ‘content’, category, etc. Write Course would give you ‘name’, ‘cost’, location, etc.

Dunno if these makes sense, and I don’t actually know enough code to do it. Something like it would enable WP to be used for any type of data beyond blogs – classifieds, retail listings, hotels, etc.

2005-07-06 15:00:59

If you can make Freebase happen, I think it would be one of the most useful plugins for people who use it as a CMS (not just as a blog tool). I would love to contribute to such a project, but programming is not exactly my league. However, if you’re interested, I think we’ll be able to get some guys from Vesess to assist.

(Comments wont nest below this level)
 
 
 
2005-07-11 12:54:46

Google Ads – that’s new right?

BTW, Don’t buy an IBM. Go for a Dell Precision.

 
2010-09-21 12:42:28

Be not indignant that you cannot create others as you desire them to be, since you cannot prevail upon yourself as you long to be

 
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


Sarath Fonseka And Minority Politics (2)

indi: I don’t consider him a racist, but he certainly wouldn’t have been seen as a minority champion, until he became a candidate

St. Fallen: Why are we accepting that he’s racist based on that statement? Fonseka is not a politician. What set him apart was the fact that he spoke uninhibited, which landed him in jail. I think he was brave to make a statement that he...

General Sarath Fonseka Out Soon? (2)

Jilebi: Isn’t SF a US Permanant Resident?

shammi: Great news. I didn’t believe it would happen. The general’s lung condition must be bad, and Mahinda knows that the people wont forgive him if anything were to happen to SF, and it was thought that he was denied proper medical...

Sri Lanka Has One Million ‘Extra’ Women (24)

shammi: You missed an apostrophe in girlfriends. Do we add it before or after the “s” ?

Ainsley Samarajiwa (1924-2012) (23)

Giules: Agreed. My deepest sympathies, Indi.

Rumesh: Hey bro, a writing of great depth and value just as the man himself. Growing up as a child through immense suffering and pain, I remember how seeya (I used to call him ‘loku seeya’) and of course aachchi cared for us and...

Kevin: Indi, my deepest sympathies. Please convey my sympathies to Aunty Evelyn.

The iPlayboy App. For The Articles (1)

Tharindu: It was very interesting to see Playboy mags of 50s and 60s….

Night Watch (7)

LC Perera: My deepest sympathies to you and family, Indi.

Sarath Fonseka And Minority Politics

I started off not really liking General Sarath Fonseka, him being part of the aggressive war effort. I didn’t support the war (largely cause I thought it would fail), and I thought Gotabhaya Rajapaksa and Fonseka were gleefully stomping everything. Fonseka even came out and said “I strongly believe that this country belongs to the Sinhalese but there are minority communities and we treat them like our people,” in 2008 (National Post). Then when he ran for President in 2010, he won mainly in minority areas. Which shows you how things can change.

General Sarath Fonseka Out Soon?

General Sarath Fonseka was arrested on a bunch of trumped up charges, but mainly for daring to threaten Mahinda in a Presidential election. Despite his poor health, Fonseka was arrested in February 2010 and sentence to three years. Word on the street now, however, is that he’ll be released soon. Like any day now. President Mahinda Rajapaksa has told the Hindu so, so it looks like the General will be out soon. Without his title, a proper house or much shot at power, but out still.

The iPlayboy App. For The Articles

I’ve been testing a lot of apps. A very interesting one is iPlayboy, from Playboy magazine. It’s bad porn but a good magazine, especially since you can read issues from its cultural heyday – the Mad Men era of the 60s.

Reading Comics Again (Marvel Comics App)

I’m going to get back to blogging. I buy a shitload of stuff on my iPad. Not that I like spending money, and the exchange rate terrifies me, but it’s just so easy, and so good. For example, I’ve been reading comics again. Spiderman, and Carnage. Except this time Spiderman is friends with Iron Man, and Carnage has boobs. Amazing. I’ve realized, however, that Marvel never ends stories. They are all cliff-hangers. Sequels are the business model. They’re such assholes money machines.