Principia Discordia

Principia Discordia => Think for Yourself, Schmuck! => Topic started by: P3nT4gR4m on December 12, 2008, 05:59:08 PM

Title: PD Metatags - Anyone want to play?
Post by: P3nT4gR4m on December 12, 2008, 05:59:08 PM
This (http://p3nt4gr4m.webhop.org/pdtags) is what I was talking about ITT (http://www.principiadiscordia.com/forum/index.php?topic=18828.30).

This shit isn't integrated with SMF so you have to copy the topic id from the url eg.

http://www.principiadiscordia.com/forum/index.php?topic=18828.30

The bold part should be pasted into "Article Number:" and the thread title into "Article Name:". Then a comma separated list of tags you wish to apply goes in "Tags:"

Right now there's no login so anyone can spam the shit out it (please do) and I can't find a way of linking to the post direct, only the page of the thread in which it appears (I don't speak SMF but I'm sure this is doable)

This is on my home PC so it'll be getting turned off between about 11pm and 10-ish GMT.

I'm thinking this has the potential to organise this board, over time, into a searchable database of kick-ass shit, as opposed to the state of play at the moment where it's more of a unorganised pile of kick-ass shit, buried under ten tons of gobshite.

Every time a tag is added to an article it's weight is increased by one so that if lots of people were to tag an post 'BIP' this post would appear at the top of a 'BIP' search.

*edit* links fixxt
Title: Re: PD Metatags - Anyone want to play?
Post by: Triple Zero on December 12, 2008, 06:31:31 PM
your URLs are broken ..

this --> http://p3nt4gr4m.webhop.org/pdtags

um anyway, this is pretty much exactly what you can do with http://delicious.com , except homebrewn and specific for just this forum.

see:  http://delicious.com/tag/litgasm
and: http://delicious.com/tag/gasm

wouldn't it be more useful to progress to the second step, to write something that collects and makes use of this data and present it in a pretty and searchable manner?

delicious has once again updated its API to be even more easy to use:
http://delicious.com/help/feeds

and once you got the JSON feed, PHP has built in functionality for deserializing it into a PHP associative array:
http://php.net/json-decode

so, the lego blocks are there :)
Title: Re: PD Metatags - Anyone want to play?
Post by: Mesozoic Mister Nigel on December 13, 2008, 04:40:24 PM
Everything you guys are saying appears as gibberish to me. I hope that when you're done, it turns into something  a tech-retard can use.