Other Comic XML entries - Part 1

Comica (formerly Comical) is a configurable web-comic viewer and downloader. [link]
schmitty
Posts: 7
Joined: Sun Feb 21, 2010 4:22 pm

Other Comic XML entries - Part 1

Post by schmitty » Sun Feb 21, 2010 4:29 pm

I am creating this post to log comic XML entries that are not part of the default installation. This should save others the time/brain power of creating them. Feel free to share any you already have.

[Rather than adding my own replies to queries, thus cluttering up the thread,
I'm going to be replying directly within posts. Just like this, whoo! - BootBlock]

schmitty
Posts: 7
Joined: Sun Feb 21, 2010 4:22 pm

Re: Other Comic XML entries

Post by schmitty » Sun Feb 21, 2010 4:41 pm

Sheldon: <Definition Name="Sheldon" PublisherUrl="http://www.sheldoncomics.com" LatestComicUrl="http://www.sheldoncomics.com" Rating="Everyone" ComicImage="/strips/.*\.(jpg|png|gif)$" />

(I think this is correct - worked for today's strip.)

schmitty
Posts: 7
Joined: Sun Feb 21, 2010 4:22 pm

Re: Other Comic XML entries

Post by schmitty » Sun Feb 21, 2010 4:45 pm

Digital Unrest:
<Definition Name="digital unrest" PublisherUrl="http://digitalunrestcomic.com" LatestComicUrl="http://digitalunrestcomic.com" Rating="Everyone" ComicImage="/strips/.*\.(jpg|png|gif)$" />


(So far these are playing nice, but some in the default xml file looked scary.)

schmitty
Posts: 7
Joined: Sun Feb 21, 2010 4:22 pm

Re: Other Comic XML entries

Post by schmitty » Sun Feb 21, 2010 4:47 pm

Full Frontal Nerdity: <Definition Name="Full Frontal Nerdity" PublisherUrl="http://nodwick.humor.gamespy.com/ffn/" LatestComicUrl="http://nodwick.humor.gamespy.com/ffn/" Rating="Everyone" ComicImage="/strips/.*\.(jpg|png|gif)$" />

(I'm liking how this works for non-RSS comics!)

schmitty
Posts: 7
Joined: Sun Feb 21, 2010 4:22 pm

Re: Other Comic XML entries

Post by schmitty » Sun Feb 21, 2010 4:57 pm

Mr Wiggles (not for the faint of heart/easily offended):
<Definition Name="Rehabilitating Mr. Wiggles" PublisherUrl="http://www.mrwiggleslovesyou.com/" LatestComicUrl="http://www.mrwiggleslovesyou.com/" Rating="Adult" ComicImage="/comics/.*\.(jpg|png|gif)$" />

schmitty
Posts: 7
Joined: Sun Feb 21, 2010 4:22 pm

Re: Other Comic XML entries

Post by schmitty » Sun Feb 21, 2010 5:04 pm

Penny Arcade seems broke in the default xml file. Here's one I think works:
<Definition Name="Penny Arcade(Fixed)" PublisherUrl="http://penny-arcade.com" LatestComicUrl="http://penny-arcade.com/comic" Rating="Everyone" ComicImage="http://art.penny-arcade.com/photos/[0-9]*_.*.\.(gif|jpg|png|bmp)$" />

schmitty
Posts: 7
Joined: Sun Feb 21, 2010 4:22 pm

Re: Other Comic XML entries

Post by schmitty » Sun Feb 21, 2010 5:18 pm

Comic
  • Nerf NOW!!
Definition (Finally a weird one. I think this one is right - works for me!)

[I've edited it slightly so it now includes the comic's alt-text. Copied it directly from within Comical, so the formatting came right along with it. :) - BootBlock]

J1NX
Posts: 1
Joined: Mon Feb 22, 2010 7:22 am

Re: Other Comic XML entries

Post by J1NX » Mon Feb 22, 2010 7:39 am

I've been playing with this all night, but I can't seem to figure out how to get this to play nice. Maybe you can help? :D

<Definition Name="Looking For Group" PublisherUrl="http://www.lfgcomic.com/" LatestComicUrl="http://www.lfgcomic.com/page/latest" Rating="Everyone" ResolveToRoot="true" ComicImage="http://www.lfgcomic.com/comics/lfg[0-9].*\.(jpg|png|gif)$" />

The red is where I'm sure I'm messing up, but I'm not sure what I've done wrong.

Edit: As mentioned below, your regex was correct, but it was just missing a ResolveToRoot="true". - BootBlock

User avatar
BootBlock
Unclean, unclean!
Posts: 425
Joined: Wed May 28, 2008 11:17 pm
Location: United Kingdom
Contact:

Re: Other Comic XML entries

Post by BootBlock » Mon Feb 22, 2010 1:09 pm

Hi schmitty,
great idea for a thread! I'll sticky this and add additional ones to it as well. I ultimately want to create a "Subscribe to" feature that will contain a list of all comic definitions that can be selectively subbed to. In the meantime, this'll be the stop-gap. :)

There is one thing though: I may need to slightly edit any new definition submissions to be consistent with the others. For example, all regex expressions should check only the path+filename for an image as opposed to the full absolute path (eg. instead of checking for somesite.com/comics/newcomic.png, it should check for /comics/newcomic.png).

Oh, yes - ensure you have the latest comics database by hitting F7. The Penny Arcade definition was fixed a while back, but the database that comes with the current Comical is a few versions out of date. I'll add info about it to the Introduction screen that'll be in the next version of the app.

J1NX
I'll edit your post with a working version right after I post this.

Edit: Your regex is correct, but it appears the site is a bit of a special case and required ResolveToRoot="true" adding.

User avatar
BootBlock
Unclean, unclean!
Posts: 425
Joined: Wed May 28, 2008 11:17 pm
Location: United Kingdom
Contact:

Re: Other Comic XML entries

Post by BootBlock » Mon Feb 22, 2010 1:58 pm

Comic
  • Real Life Comics
Definition

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests