Otterman speaks... (2003-2007)
Weblog about cycling, macintosh, natural history and life in Singapore.
Otterman - Blog Home

Archives - Blog's RSS - Comments RSS - LJ - Email me - All my blogs - About me: 2004 - 2002

Make a permalink or URL tiny:
Blog email subscription

Enter your email address to receive the previous day's posts:

Categories

Mac and the Internet - NUS
Cycling - Life in Singapore - Meow
Singapore Naturalist - Mangroves
Science - World - Museum
Movies - Literature - Travel

Biology module blogs:
Biodiversity (Year 1)
Ecology (Year 3)
Structure & Function (Year 3)
Marine Biology (Year 4)
Natural History Blogs:
The Biology Refugia
Raffles Museum Toddycats
Intl Coastal Cleanup Singapore
Labrador Park
Pulau Ubin Stories
Pulau Hantu
Yesterday.sg
Cycling in Singapore
Mac Meetup Singapore
Aboard the Götheborg
Otterman Projects
Herpnet
Zendogs/Wheels are Turning
Hopea sangal


Raffles Museum Toddycats!

Pedal Ubin!
Pasir Panjang Heritage
Raffles Museum Internship
MR-BT Briskwalkers



Mac Meetups
Singapore

Some of my kakis

Kakis at home
Lekowala
Ad & Jen
Inertia is a Sin
Halfway between the gutter and the stars
Lost in the Jungle
Dawn, Cat Welfare
Compulsive Maniac
Deadpoet's Cave
Rambling Librarian
Cooler Insights
Pencil Shavings
Moi-Carine
NatureAntz
Ling the Merciless
Philosophize Me Jelly
Dewi A

Kakis overseas
Alvin - Beijing, China:
* Alvin's spiel
Kevin - Buffalo, NY:
Theory is the Reason
Bonny - HCMC, Vietnam:
VietStuff
Jac - London, UK:
Dogged Wanderings
Jasmin - NY, NY:
The Worsted Witch
Marcus - Shanghai, China:
You only live once
Tse-Lynn - Wilmington, NC:
Musings of a barefoot traveller
Jani - Newcastle, UK:
Salted & Fried

Seow Hwa's
The Ice Cream Gallery

Local reads
Commentary Singapore
Singapore Surf
Tomorrow.sg
Screenshots

Resources
SinGeo
Museum Roundtable
Science Daily
Environmental News Network
National Geographic News
New Scientist news
Nature News
Google News
BBC
Resource Shelf
The Unofficial Apple Weblog
Boing Boing
Wired
The Daily Show
www.flickr.com
This is a Flickr badge showing photos in a set called My Handphone Photos. Make your own badge here.
Books


Made on a Mac with
Claris Home Page 3.0.
Blog engine: Samizdat,
based on PHPosxom,
based on Blosxom.
Updated with TextWrangler.

Creative Commons License
© N. Sivasothi, 2003
This work is licensed under a
Creative Commons License.

Subscribe with Bloglines

Otterman speaks...

Cycling, macintosh, natural history and life in Singapore - Archives

List of Categories : travel * museum * cycling * Singapore Naturalist * science * kakis * mangroves * movies * mac and the internet * meow * NUS * life in Singapore * lit * world *

Thu 30 Jun 2005

Ignore the Haloscan comments for the moment

Category : mac and the internet

I'm trying something out that I saw in a comment-enabled phposoxm page. I asked the author, Richard Newman for the relevant part and am trying to plug it in.

He strips each filename of its extension and uses it to provide the unique comment name for the Haloscan script. Elegant!

I am clueless about php. Thankfully Dreamweaver's colour codes have prevented me from messing up the syntax. After I inserted everyting carefully, the function "strip_ext" that Richard uses to strip the filename ($path) of its extension, to provide an extensionless remains of the permalink. This appears to provoke a fatal error. In which case the Haloscan comments are not being assigned an ID and so it does not work.

If unsuccessful, I'll bug Richard and Kevin further. Gotta try a little first. That's how RSS got fixed. Anything more will require help though. Bonus is that Habitatnews and Raffles Museum News will get fixed as well.

Update - the error mesage indicated the function was not defined, so I used this. The error message at least is gone now. However the Haloscan comment link is empty, unlike this mannually assigned link:

Tried a few other things but looks like its beyond me now. Time to bug people.

Posted at 9:38AM UTC by N. Sivasothi | permalink | , .