maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   GagBook - 9gag app (https://talk.maemo.org/showthread.php?t=87443)

AudioSculpt 2012-10-18 10:56

GagBook - 9gag app
 
Look quattro l've found:

http://dickson-apps.blogspot.it/2012...phone.html?m=1

Wreck 2012-10-18 11:04

Re: GagBook - 9gag app
 
Port to Meamo please :D

Kozzi 2013-01-26 14:54

For those whose gagbook has stopped working. Open Terminal and get root access:
cd /opt/gagbook/qml/gagbook-harmattan
nano infinigag.js

Replace the content of INFINIGAG_URL with
"http://infinigag.com/api.json"

Save and exit, run app and enjoy gags :)

dicksonleong8 2013-01-26 18:44

GagBook v0.2.3 can be download at http://bit.ly/gagbook-harmattan

Or you can bulid the latest one yourself from source at GitHub: https://github.com/dicksonleong/GagBook

which has some minor improvement since 0.2.3

Kozzi 2013-01-26 19:47

Looks like the Vote section is removed and comments page has only first comment displayed. Thanks for the update :)

dicksonleong8 2013-01-27 04:09

The vote section has been added back and will come in next version (or you can bulid yourself from GitHub). The comments section bug only start happen yesterday... I guess is Facebook making changes again. I will fix that soon.

Artyom 2013-02-04 22:45

infinigag is dead?

davmin 2013-02-05 11:49

Re: GagBook - 9gag app
 
i think yes

Artyom 2013-02-05 12:01

Any solutions/replacements?

dicksonleong8 2013-02-05 17:44

It seem TMO just got rolled back so I repost this again.

InfiniGAG is completely dead and Gagbook 0.2.3 will not work anymore. I have rewritten the backend of Gagbook to scrap directly from 9Gag website, now doing some testing, expect to be release in next few days :)

dicksonleong8 2013-02-06 07:02

Re: GagBook - 9gag app
 
Releasing GagBook 0.3.0, changelog

* Complete rewritten backend in C++
* Scrap post directly from 9GAG website, remove use of InfiniGAG API
* Vote section remove temporary because it's HTML is a bit different
* Image size setting remove temporary because the website only provide medium size image

Download: http://bit.ly/gagbook-harmattan-030

Kozzi 2013-02-06 07:56

Re: GagBook - 9gag app
 
@dicksonleong8, I have made an icon for gagbook similar to the logo they have on their website, you can use it if you want.

http://talk.maemo.org/showpost.php?p...&postcount=197

EDIT: btw unsafe pictures do not work and is it possible to retrieve video links? Found this script, hope it is useful
http://userscripts.org/scripts/show/149942

thedead1440 2013-02-06 08:06

Re: GagBook - 9gag app
 
Weird I get a Error: Connection refused message on v0.3.0 even though I'd uninstalled the previous version on my device...


Edit: Trying it again now it works so must have been some freak-occurrence earlier :D

dicksonleong8 2013-02-06 09:09

Re: GagBook - 9gag app
 
Quote:

Originally Posted by Kozzi (Post 1321081)
@dicksonleong8, I have made an icon for gagbook similar to the logo they have on their website, you can use it if you want.

http://talk.maemo.org/showpost.php?p...&postcount=197

EDIT: btw unsafe pictures do not work and is it possible to retrieve video links? Found this script, hope it is useful
http://userscripts.org/scripts/show/149942

That's their official logo, I don't think it is good to use it for GagBook.

That script looks interesting, I will definitely try it, thanks!

dicksonleong8 2013-02-06 09:11

Re: GagBook - 9gag app
 
Quote:

Originally Posted by thedead1440 (Post 1321083)
Weird I get a Error: Connection refused message on v0.3.0 even though I'd uninstalled the previous version on my device...

That's a network error. Maybe your ISP blocked 9gag.com? Can you go to 9gag.com in your browser? Or, even worst, maybe 9gag blocked GagBook?!! But it still working on my N9

thedead1440 2013-02-06 09:26

Re: GagBook - 9gag app
 
Quote:

Originally Posted by dicksonleong8 (Post 1321096)
That's a network error. Maybe your ISP blocked 9gag.com? Can you go to 9gag.com in your browser? Or, even worst, maybe 9gag blocked GagBook?!! But it still working on my N9

Yup works now :) Must have been some freak occurrence earlier

Kozzi 2013-02-15 19:18

Possible to pinch-zoom on the outside area of a image? Doibg this on currebt version make the app confuses with swiping the next or previous image. I have noticed that sometimes pictures with small text inside are not readable, eventhough they are when viewed on the website. Comments section is limited when expanding comments, the last comment do not display fully.

BTW mobile version of the website has all (vote,trending and hot) pages using same style, perhaps parse it instead?

dicksonleong8 2013-02-18 14:40

Re: GagBook - 9gag app
 
Quote:

Originally Posted by Kozzi (Post 1323181)
Possible to pinch-zoom on the outside area of a image? Doibg this on currebt version make the app confuses with swiping the next or previous image.

You can pinch zooming outside of the image. The whole content area is pinch-able.

Quote:

Originally Posted by Kozzi (Post 1323181)
I have noticed that sometimes pictures with small text inside are not readable, eventhough they are when viewed on the website.

Those pictures are really large, and must be scale down a little bit to be display on the device, if not that image will not able to display due to insufficient memory.

Quote:

Originally Posted by Kozzi (Post 1323181)
Comments section is limited when expanding comments, the last comment do not display fully.

That's one bug always bothering me, until now I still can't find a way to dynamically adjust the height of the Facebook comments.

Quote:

Originally Posted by Kozzi (Post 1323181)
BTW mobile version of the website has all (vote,trending and hot) pages using same style, perhaps parse it instead?

I too lazy to rewrite the backend again. But I already added vote + top (day/weeks/months/all) section in next version :). And also, the desktop side of 9GAG should be more stable than the mobile site.

Kozzi 2013-02-18 19:50

Just found out that pinch zoom bug happens only when two fingers touch the screen at a same after the picture is loaded, weird :)

How about using mobile links instead of default one? just add "m." before 9gag.com or link for original image.

dicksonleong8 2013-02-23 14:12

Re: GagBook - 9gag app
 
Release GagBook 0.4, changelog:

* Add zoom slider for zooming without pinching
* Add vote and top section
* Show a text when the post is a video/NSFW
* Show number of comments for each post

Download: bit.ly/gagbook-harmattan-040

thedead1440 2013-02-23 15:52

Re: GagBook - 9gag app
 
In comments it seems there is a limit of the number of comments that can be displayed. Any way to increase this limit?

Also Kozzi had linked to a script that allowed censored content to be displayed; any chance of something similar being implemented?

Thanks for this great app!

dicksonleong8 2013-02-24 14:23

Re: GagBook - 9gag app
 
I still no able to adjust the height for the Facebook comments iframe to fit the content, still not sure how other site do it :(

The image url for 9GAG post become very dynamic and can not hardcode anymore, so there is no way to view those nsfw post currently.

That script basically just hardcode every possible url and check if the image exist for each url, which is not practical at all.

dicksonleong8 2013-03-05 15:57

Re: GagBook - 9gag app
 
So it seem Facebook done some "Genius" changes again which make the default order of the Facebook comments in reverse chronology and not social ranking.

I already fixed it, but I don't want so fast release another update, so for those who are interested, you can save this file and replace the file in /opt/gagbook/qml/gagbook-harmattan/comments.html

Of course, you must do it as root.

Quick way:
Code:

~ $ wget https://raw.github.com/dicksonleong/GagBook/master/qml/gagbook-harmattan/comments.html
~ # mv comments.html /opt/gagbook/qml/gagbook-harmattan/comments.html


Morpog 2013-03-05 16:55

Re: GagBook - 9gag app
 
this should be ported to sailfishos :-)

Artyom 2013-04-03 08:54

Pictures showing dots:
http://b1304.hizliresim.com/18/3/lr1jj.png

dicksonleong8 2013-04-04 04:50

Re: GagBook - 9gag app
 
GagBook update to v0.5!

* Fix sudden not working (since 2/4/2013) because of some changes in the HTML of 9GAG website (like the previous post)
* Image caching - all images will be downloaded to the cache initially and will load from the cache when viewing the image
* Add data counter - just an estimation of how much data is downloaded in the current session. Go to about page to view it.
* Redesign UI - the whole UI is redesign with vertical scrolling

Download: bit.ly/gagbook-harmattan-050

Artyom 2013-04-04 06:30

Looking fantastic. Thanks for the great update. :)

genchigenbutsu 2013-04-04 07:48

Re: GagBook - 9gag app
 
Nice new UI. Just one question: how do I zoom into a picture?

p0pa 2013-04-04 09:23

Re: GagBook - 9gag app
 
well done !

davmin 2013-04-04 13:03

Re: GagBook - 9gag app
 
thanks very much for your work )

nokiac 2013-04-04 20:23

Re: GagBook - 9gag app
 
Thanks a lot for this wonderful app.
@dicksonleong8
I had a request if it is possible for you to implement. It would be nice if there was a way to copy the URL for the gag , to be able to paste it in Wazapp etc. It will be easy to share gags with friends that way.

Criss123 2013-04-05 19:56

Nice, the new version is awesome, thank you so much!

dicksonleong8 2013-04-06 12:40

Re: GagBook - 9gag app
 
Quote:

Originally Posted by genchigenbutsu (Post 1334028)
Nice new UI. Just one question: how do I zoom into a picture?

Zoom feature will be add in future update

Quote:

Originally Posted by nokiac (Post 1334162)
Thanks a lot for this wonderful app.
@dicksonleong8
I had a request if it is possible for you to implement. It would be nice if there was a way to copy the URL for the gag , to be able to paste it in Wazapp etc. It will be easy to share gags with friends that way.

Isn't the feature is already there? Press the web button, it will give you option to copy or open in browser

nokiac 2013-04-08 00:01

Re: GagBook - 9gag app
 
Quote:

Originally Posted by dicksonleong8 (Post 1334447)
Isn't the feature is already there? Press the web button, it will give you option to copy or open in browser

I am sorry, I assumed the web icon will directly open the browser!

dicksonleong8 2013-04-21 05:29

Re: GagBook - 9gag app
 
GagBook update to 0.5.1!

* Fix not working due to recent changes in 9GAG website (since 15/4/2013)
* Add full screen view of image with zooming
* Show a text when the post is video and/or NSFW

Download: bit.ly/gagbook-harmattan-051

Kozzi 2013-04-26 07:19

- Comments page not showing
- link to open miss 9gag's homepage part and same in sharing.

Artyom 2013-04-29 13:24

http://p1304.hizliresim.com/18/x/mkyqw.png
Any solutions?

dicksonleong8 2013-04-30 08:40

Re: GagBook - 9gag app
 
GagBook update to 0.6:

* Add InfiniGAG API as a fallback API
* Fix wrong/missing 9GAG links and broken comment section

Download: bit.ly/gagbook-harmattan-060

Note: Top section is not working.

dicksonleong8 2013-04-30 08:42

Re: GagBook - 9gag app
 
@Artyom

I never experience such error on my side. Can you please try the latest version to see if the problem still exists?

aalthus 2013-05-17 21:03

Re: GagBook - 9gag app
 
Hi,

At first thanks @dicksonleong8 for this great app :-)

I experienced a weird error with the 0.6 version (that used to work perfectly):
Code:

Error: Unable to parse response
I've uninstalled/reinstalled GagBook and it work again :confused:

I'm sorry I have no idea about why it stopped worked, I just wanted you to know, you might have an idea to prevent this.


All times are GMT. The time now is 05:43.

vBulletin® Version 3.8.8