pouët.net

Go to bottom

Suggest-A-Prod

category: offtopic [glöplog]
Came here to post exactly what noname did, WRT Pouet integration. It would be teh awesome! :)
added on the 2013-07-29 20:57:46 by raizor raizor
@maytz: That actually makes sense, hmm - now I either wait for Demozoo to make an API for checking who took part - or I actually make this a Cookie/Localfile thing.

@raizor: I'd have no idea how to fit this optical into Pouet, nor do I think it's a good idea. However when I'm done with the refactor there will be a userscript somehow hooking this in.


As it was too f00king hot the last week (had 34°C in my flat on Sunday), I'm a bit behind my schedule for the rewrite. So far I'm done porting the parser for user stuff to PHP[0], as just loading a JSON file is faster than parsing all the stuff on your netbook.

Example:
view-source:http://metapouet.net/api/v0/user/?id=7775
https://gist.github.com/mog/73bab9a4791cb511a211

For the comments, that are the base for all the shenanigans, I'm done with that as well - but somehow it times out after 30s - which I'm currently investigating. It does work okay'ish for 20 prods and times at around .020s per comment, but hmm. Either way code for the curious.
https://gist.github.com/mog/407a63adfee891dbd4f4

That API will be obsolete at some point, but right now it just ensures Suggest-A-Prod will work a lot faster. I'll also Github the code after the rewrite, so I don't loose track of all your cool feature suggestions :)

Thanks for all the love, keep commenting - and if it's only for your thumbUpBuddies :)

[0] lol
added on the 2013-07-29 21:36:48 by mog mog
Still working on it after work, so if if you want a peek on betapouet http://plnkr.co/edit/sJnqN0JzAOIG3TnoDcRa?p=preview prodtype selection works, demoType not yet.

Forks welcome :)

Also if the api doesn't return some thing, let me know on Twitter @mehmog :X
added on the 2013-08-03 01:43:48 by mog mog
It's just too hot in here to get actual work done, when I got home it's still >30°C in here - really can't code shit at this temperatures :\
added on the 2013-08-03 01:47:52 by mog mog
this thing makes fun exploring prods without own comment (=
Oh hey,

it took me a while to update suggest-a-prod to pouet 2.0 - but hey, better late than never :)

Codewise it's still a mess, however you're now able to enjoy a couple of more prods - as it has (almost) endless scrolling.

Have fun! <3
added on the 2013-10-13 02:07:11 by mog mog
Also the feature suggestions are not forgotten, just wanted to make sure it works before I add even more new mumbojumbo :)
added on the 2013-10-13 02:09:52 by mog mog
great, i was waiting for this :D
<3
@mog: I get a lot of prods returned I have commented and voted Piggie. Is this intentional or?
added on the 2013-10-13 09:59:20 by maytz maytz
Not intended at all maytz, thanks for catching that :)
added on the 2013-10-13 17:18:36 by mog mog
Salut,

I've just added the complete code to https://github.com/trbl/metapouet

take care :)
added on the 2013-10-30 20:31:13 by mog mog
Added a new sorting, if a buddy is in both the down and up list - then those two numbers are multiplied. Giving buddies that love and hate the same things as you a bit more boost.

Next up prodType and platform filtering I guess?
added on the 2013-10-31 15:49:22 by mog mog
Yes!!!

Gotta check the code :p
added on the 2013-10-31 15:59:39 by p01 p01
Oh please don't, it's a weird mess of .map/.filter and for loops ^^
added on the 2013-10-31 16:01:28 by mog mog
nice :) then i'm going to have a look too. .map, .filter, .fold, the way to code!
added on the 2013-10-31 16:06:52 by skomp skomp
BB Image
added on the 2013-10-31 16:16:31 by mog mog
Added prod types now, a quick smoke test gave me 4ks and wilds :)

Select multiple types by pressing shift while you click something in the list.
added on the 2013-10-31 16:57:40 by mog mog
Thanks mog!
added on the 2013-11-01 10:23:56 by baah baah
you're welcome :)
BB Image
added on the 2013-11-01 11:38:06 by mog mog
Does it still work? It won't step further than "Starting to fetch your buddies comments" :(
Same here, also says I have 0 thumb-up buddies..
added on the 2014-06-15 18:07:26 by ___ ___
It's broken apparently. :c
added on the 2014-06-15 20:03:55 by TomoAlien TomoAlien
Hmm, to be honest I didn't bother to fix it - because there was one user a week or something. However seeing that there's still need for it, I'll look into it.
added on the 2014-06-16 17:23:16 by mog mog
mog: it's a very useful thing and a lot more fun than clicking around at pouet and decide what to watch. so it would be very nice :)

login

Go to top