Margot makes me happy. I’m happy.
Here’s the smiley to prove it—:).
If you came here from a link that pointed directly to http://bitdesigns.net/blog/, you probably missed my new main website index.
Bitdesigns needs to be repurposed, redesigned.
Wait for it. :-)
The Digital Web online magazine has two pretty good articles about two things that Javascript is very unique in when it comes to programming languages:
Must-read for front-end developers who have yet to learn the finer points of Javascript. :-)
Since about two years ago, I’ve been planning on joining the Philippine Web Awards. The problem is that I’ve never had the time to create my very own website (or even participate in making a website) made for public consumption that had quality content and excellent design.
Last year, I told myself that I’d remake this site and join the PWA 2006 with it. Seems I missed the boat once again.
Before anything, you should really visit IsItFriday.net – really friendly online public service.
Here’s my tribute to IsItFriday.net and weekday afternoons in the mid-90s:
4:30 na ba? (based on Philippine time)
It’ll be displaying a “positive answer” for the entire thirty minutes of the former timeslot of the original show.
Ever since Friendster gave the option to design profile pages with CSS, I’ve wanted to play around with it and try to come up with a beautiful profile page design just for the challenge. I’ve always thought that Friendster probably wouldn’t have nice HTML code and the CSS allowed would probably be very limited… I was wrong.
Check out my awesomeness here:
http://friendster.com/bitdesigns
Just so you guys know, the following CSS attributes are stripped out from your submitted CSS:
displayvisibilitypositionI’m pretty sure they’d strip out attributes like expression too, but I don’t really care to check.
Finish page design.
Oh shit. I have to check this in IE.
Open IE.
This POS better work right.
Enter the URL in the address bar.
Oh shit…
Wait for it to load.
C’mon, c’mon… oh shit, oh shit oh shit… c’mon, c’mon…
Page loads.
OH THANK GOD. Fate smiles upon me today.
when you’re lucky… but it’s usually more like…
THIS IS M!@#$%F&CKIN BULLSH!T.
(Another TxP plugin! Wee!)
While the jas_popular_articles plugin actually does the basic task of listing the most popular pages, it didn’t seem like the best solution. I looked through the plugin source and apparently, it uses the Textpattern visitor logs to count the visits. Unfortunately, these logs only record the requested URLs within the TxP site and not the actual content that visitors go to. I could enumerate several situations in which this would be less than ideal, but you’re probably smart enough to think of a few.
bit_counting_article uses a custom field to count the visits to the individual article, and provides a tag to replace <txp:article /> to do the hit count incrementing.
Also included is another tag to output an article list of the most (or least) visited articles. It’s built on the code of ort_article_psort by Lucas Gueñol.
For a detailed look at the plugin, visit the forum thread.
Download bit_counting_article.
Wee! Another TxP plugin. Not as exciting this time, though.
I’ve found that for such a simple functionality as generating the category titles of an article outside of the article form in the context of an individual article page, there doesn’t seem to be a ready-made way to do it.
Well, until I find that ready-made way or until TxP adopts this functionality, here’s bit_article_category.
It provides two tags:
<txp:bit_category1 />
<txp:bit_category2 />
And either tag accepts one optional attribute:
link – whether the tag outputs a link or just the title; ‘1’ or ‘0’
default: ‘1’
Multi-level sites in Txp have always been somewhat of a pain. There are many ways to do it, but unfortunately all of them require some mish-mashing of multiple plugins and conditional tags and a lot of confusion in between.
I’ll try to document how I did once I get this cleared. I think I’ve come up with a pretty nice way of doing it too. Stay tuned, my TxP-using friends.