Flickr-Style Listing
For a lack of better phrase, and I don't know who started this - just that I saw it on Flickr first - I've shamelessly copied the presentation of my "List Of Sites" into Flickr-style, instead of the old, boring, usual, row-by-row listing.. *yawns*.. anyways, check it out! [Updated link on 26 Apr '06]
Think I may just put the "You may also like.. " feature soon..
Btw, I'm currently using the following MySQL query to rank the feeds -
SELECT
FLOOR(
my.*
FROM SUM(
SUBSTRING(my.title, 1, 15) AS abbr_title, my.num_of_subscribers > your.num_of_subscribers OR
(my.num_of_subscribers = your.num_of_subscribers AND my.id > your.id)
) / COUNT(*) * 25) + 6 AS rank, (my.num_of_subscribers = your.num_of_subscribers AND my.id > your.id)
my.*
feeds my, feeds your
WHERE my.id != your.id AND my.title != ''
GROUP BY my.id ORDER BY my.title ASC;
That's a mouthful!.. Roughly translate to: More subscribers always more popular; if not, newer is more popular.
- rank: The "/ count(*) ... as rank" is just to make sure that the range is 6 to 31 (font-ready numbers that I can plug directly in the rhtml file)
- abbr_title: not in use yet.. was going to control, because some ppl's blog titles are just too damn long! :-D