plugin for comic Two Guys and Guy

Post plugins and custom CSS snippets here
randompherret
Bear Rating Trainee
Bear Rating Trainee
Posts: 36
Joined: 04 Jul 2013, 08:11

plugin for comic Two Guys and Guy

Postby randompherret » 04 Jul 2013, 08:15

Tried my hand at my first plugin. Removes the thumbnail and replaces it with a full sized image for the comic Two Guys and Guy (http://www.twogag.com/)
Let me know if you find any issues.
https://github.com/randompherret/af_twogag

User avatar
sleeper_service
Bear Rating Overlord
Bear Rating Overlord
Posts: 884
Joined: 30 Mar 2013, 23:50
Location: Dallas, Texas

Re: plugin for comic Two Guys and Guy

Postby sleeper_service » 04 Jul 2013, 10:05

not working for me. still getting the thumbnail :(

7duck
Bear Rating Trainee
Bear Rating Trainee
Posts: 47
Joined: 08 Jun 2013, 08:11

Re: plugin for comic Two Guys and Guy

Postby 7duck » 04 Jul 2013, 10:56

Couldn't you use feedmod for this?

*not sure if feed array is correct.

Code: Select all

   "twogag": {
      "type": "xpath",
      "xpath": "div[@class='comic']"
   }

User avatar
sleeper_service
Bear Rating Overlord
Bear Rating Overlord
Posts: 884
Joined: 30 Mar 2013, 23:50
Location: Dallas, Texas

Re: plugin for comic Two Guys and Guy

Postby sleeper_service » 04 Jul 2013, 11:05

7duck wrote:Couldn't you use feedmod for this?

*not sure if feed array is correct.

Code: Select all

   "twogag": {
      "type": "xpath",
      "xpath": "div[@class='comic']"
   }


I thought I tried that exact thing... and still got thumbnails... *scratching head* lemme steal your example and try ;)

User avatar
sleeper_service
Bear Rating Overlord
Bear Rating Overlord
Posts: 884
Joined: 30 Mar 2013, 23:50
Location: Dallas, Texas

Re: plugin for comic Two Guys and Guy

Postby sleeper_service » 04 Jul 2013, 11:20

still getting thumbs :( does it work for you?

randompherret
Bear Rating Trainee
Bear Rating Trainee
Posts: 36
Joined: 04 Jul 2013, 08:11

Re: plugin for comic Two Guys and Guy

Postby randompherret » 04 Jul 2013, 15:38

it was working for me last night, after seeing your comments I checked and it was thumbnails. Without changing anything on the plug in I removed and readded the feed and am getting full sized again... I will look into feedmod, I used the comic plugins that came with it as an example.

randompherret
Bear Rating Trainee
Bear Rating Trainee
Posts: 36
Joined: 04 Jul 2013, 08:11

Re: plugin for comic Two Guys and Guy

Postby randompherret » 04 Jul 2013, 15:46

Feed mod wouldn't do it the way that I am. It would work with something like penny arcade where they go get the page and find a div and use that as the content, All I'm doing is replacing the src string of the image tag to remove the -rss on the folder name.


Return to “Themes and plugins”

Who is online

Users browsing this forum: No registered users and 1 guest