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


Why Does India Suck At The Olympics? (15)

Rohan: Medium Pacers mean “Fast medium” or “Medium fast”: That is the “technica l” term. No Indian has “FastR 21; under his name when being introduced to the bowling attack.

Rohan: Nonsense: These are all medium pacers. You obviously don’t have a clue about fast bowling nor cricket for that matter. http://www.espn cricinfo.com/in dia/content/sto ry/535672.html http://www.dnai ndia.com/sport/ comment_cric...

the way of the dodo: what are you mad! Zaheer Khan, Ashish Nehra, Ishant Sharma from the old lot From the new lot Umesh Yadav, Varoon Aaron, Ashok Dinda

Sarath Fonseka And The Mahavamsa (3)

tastyjujubes: On the BBC video Sarath Fonseka reckons he doesn’t want to run for president but you can see the gleam in his eyes.

sack: “bloodthi rsty and unscrupulous would win” More cunning guy would win. Usually having blood thirst and being unscrupulous are not a guaranty for wining. A truly cunning cold blooded guy would do things which are blood thirsty and...

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

DK: My thanks to everyone – well, perhaps not Acro – who has contributed to this. I’ve learned a lot. As I’ve said in a previous string I’m Sri Lankan-born, lost SL citizenship because of prevailing laws at the time I...

New New Kottu (7)

Chavie: Thanks bro. :)

Chavie: Yeps, any combination of language/popula rity that you use to view a page can be used to obtain a feed. Let’s say you’re looking at Sinhala posts popular today: http://kottu.or g/si/today You can get the feed for that...

D: Can we get separate RSS feeds based on the language?

General Sarath Fonseka Out Soon? (12)

David Blacker: Nothing wrong with the Sinhalese being divided by politics rather than united by ethnicity. And yes, of course SL must cooperate with an international investigation if one is initiated. We can’t afford not to. The idea is to...

Sarath Fonseka And The Mahavamsa

The Mahavamsa (a history of Sri Lanka) is full of conflicts between generals and kings. Usually, the more bloodthirsty and unscrupulous would win. Our current (elected) ruler Mahinda Rajapaksa has had his own general conflicts, namely with one Sarath Fonseka. In the old days Fonseka would have staged a coup, as in literally try to cut of Mahinda’s head, and Mahinda would – if that failed – tie him to four elephants and split his parts asunder. Can’t do that shit anymore. Instead Fonseka ran for office and lost and Mahinda tossed him in jail.

Why Does India Suck At The Olympics?

Today on the morning show we talked about the Olympics, namely China’s emerging dominance. For me the bigger question is India. Why does India suck so much? In 2008 the US won 110 medals, China won 100 and India won… 3. India has over a billion people, some economic clout and is by all counts an emerging superpower, but they suck at the Olympics. Why?

New New Kottu

Janith has updated Kottu with rims and shit. Seriously, it looks pretty good. You could say the desktop look is cosmetic, but check out the mobile. Kottu now looks like an app with settings and menus and such. The biggest problem with K2 is me, ie, it now takes me up to a month to respond to emails. OMG I’m scared of my email. But Janith’s done this code and design update all by himself and it looks pretty good. Check it out. There was one bug with the previous page link. Lettuce know if there’s any more.

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.