Re: [netcomics-devel] Line breaks for multiple images?
Brought to you by:
elliotglaysher,
hochstrb
|
From: Clint O. <cli...@ol...> - 2005-06-03 16:05:23
|
Ok -- I'll just leave my Test theme as is, and use that when I want line
breaks in the comics. It probably isn't a big enough change to warrant
checking into the CVS. Thanks!
Clint Olson
clintcompute at olsonnetwork dot com
Hochstedler, Ben (GE Healthcare) wrote:
>Clint,
>
>No, it would be best to not merge it in. There are
>some comics out there where each panel is rendered as
>its own image file, and for those, it's nice to have
>the panels build up side-by-side. I don't know which
>comics did that (it's been a few years) or even if they
>still do it today.
>
>You could make it a configurable option, but the best
>design would be for each specific comic to have an
>attribute that specifies if multiple images should
>be in separate rows when rendered on screen. Feel
>free to take that on, but without looking at the code
>(again it's been a while), I'm guessing it's not
>designed to facilitate meta-data like that to be
>passed into the theme, let alone the HTML page
>generator.
>
>-Ben
>
>
>
>>-----Original Message-----
>>From: net...@li...
>>[mailto:net...@li...]On Behalf Of Clint
>>Olson
>>Sent: Thursday, June 02, 2005 4:25 PM
>>To: net...@li...
>>Subject: Re: [netcomics-devel] Line breaks for multiple images?
>>
>>
>>Cool, I got it... amazing what a difference one 's' can make. Do you
>>think I should merge the test theme with Default? All I
>>really changed
>>(besides the name) was to add one <BR /> to the Body Element
>>definition. You can see exactly what I modified below.
>>
>>Apparently, the only effect the extra <BR /> has is to make
>>it so that
>>successive images are displayed vertically, rather than
>>horizontally.
>>It doesn't show up when you only have one image per day.
>>
>>Let me know!
>>
>>Clint Olson
>>clintcompute at olsonnetwork dot com
>>
>>[oleclint@repository Themes]$ diff Default.pm Test.pm
>>17,18c17,18
>>< package Netcomics::HTML::Themes::Default;
>>< use vars '@ISA'; @ISA = ("Netcomics::HTML::Theme");
>>---
>> > package Netcomics::HTML::Themes::Test;
>> > use vars '@ISA'; @ISA = ("Netcomics::HTML::Themes::Default");
>>66c66
>>< <A HREF="<COMIC_FILE>"><IMG BORDER=0 SRC="<COMIC_FILE>" <SIZE>></A>
>>---
>> > <A HREF="<COMIC_FILE>"><IMG BORDER=0 SRC="<COMIC_FILE>"
>><SIZE>></A><BR />
>>117c117
>>< $name = "Default" unless defined $name;
>>---
>> > $name = "Test" unless defined $name;
>>
>>
>>Hochstedler, Ben (GE Healthcare) wrote:
>>
>>
>>
>>>Clint,
>>>
>>>You may need to add it to Makefile.PL & MANIFEST.
>>>I'm sure you probably added the file into the same
>>>directory in which the other themes are actually
>>>installed on your system. You could check to make
>>>sure that you don't have multiple directories on
>>>your system that contain themes and make sure you
>>>selected the right one.
>>>
>>>You could also try updating the html_themes_dir
>>>var in your netcomicsrc and put your custom theme
>>>in its own dir.
>>>
>>>-Ben
>>>
>>>
>>>
>>>
>>>
>>>>-----Original Message-----
>>>>From: net...@li...
>>>>[mailto:net...@li...]On
>>>>
>>>>
>>Behalf Of Clint
>>
>>
>>>>Olson
>>>>Sent: Thursday, June 02, 2005 12:30 PM
>>>>To: net...@li...
>>>>Subject: Re: [netcomics-devel] Line breaks for multiple images?
>>>>
>>>>
>>>>Ok, I think I found what I need to change -- the theme.
>>>>However, I've
>>>>run into another difficulty. I'm trying to make a copy of
>>>>the Default
>>>>theme called Test.pm with my changes in it. I've changed
>>>>
>>>>
>>the module
>>
>>
>>>>name at the top of the file and the $name variable in the 'new'
>>>>function. However, when I run netcomics and try to get it
>>>>
>>>>
>>to use the
>>
>>
>>>>new theme, it tells me:
>>>>
>>>>The specified theme does not exist: Test.
>>>>Valid themes: CleanRound NoStatus Default CleanRoundImbedCaption
>>>>OldSchool Test
>>>>
>>>>Which seems slightly odd. Is there somewhere else I need to
>>>>change to
>>>>make it recognize the new theme?
>>>>
>>>>Clint Olson
>>>>clintcompute at olsonnetwork dot com
>>>>
>>>>
>>>>Clint Olson wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>Hi guys!
>>>>>Hey, I recently got into Schlock Mercenary
>>>>>(http://www.schlockmercenary.com/), a Keenspot comic which
>>>>>
>>>>>
>>>>>
>>>>>
>>>>consists of
>>>>
>>>>
>>>>
>>>>
>>>>>a single image on weekdays, and multiple images on Sundays (see
>>>>>http://www.schlockmercenary.com/d/20050529.html for an
>>>>>
>>>>>
>>>>>
>>>>>
>>>>example). When
>>>>
>>>>
>>>>
>>>>
>>>>>I archive Sundays with netcomics, however, the multiple images are
>>>>>shown on the generated HTML page in a long horizontal line, with
>>>>>nothing between them. While this works, it would be really
>>>>>
>>>>>
>>>>>
>>>>>
>>>>nice to be
>>>>
>>>>
>>>>
>>>>
>>>>>able to make netcomics insert a <br> in between each
>>>>>
>>>>>
>>>>>
>>>>>
>>>>consecutive image
>>>>
>>>>
>>>>
>>>>
>>>>>for a given day. However, I'm not quite sure what area of
>>>>>
>>>>>
>>>>>
>>>>>
>>>>netcomics I
>>>>
>>>>
>>>>
>>>>
>>>>>would need to change to write in this behaviour. Does
>>>>>
>>>>>
>>anybody know
>>
>>
>>>>>where I should look?
>>>>>
>>>>>Clint Olson
>>>>>clintcompute at olsonnetwork dot com
>>>>>
>>>>>
>>>>>
>>>>>-------------------------------------------------------
>>>>>This SF.Net email is sponsored by Yahoo.
>>>>>Introducing Yahoo! Search Developer Network - Create apps
>>>>>
>>>>>
>>>>>
>>>>>
>>>>using Yahoo!
>>>>
>>>>
>>>>
>>>>
>>>>>Search APIs Find out how you can build Yahoo! directly
>>>>>
>>>>>
>>into your own
>>
>>
>>>>>Applications - visit
>>>>>http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
>>>>>_______________________________________________
>>>>>netcomics-devel mailing list
>>>>>net...@li...
>>>>>https://lists.sourceforge.net/lists/listinfo/netcomics-devel
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>-------------------------------------------------------
>>>>This SF.Net email is sponsored by Yahoo.
>>>>Introducing Yahoo! Search Developer Network - Create apps
>>>>
>>>>
>>using Yahoo!
>>
>>
>>>>Search APIs Find out how you can build Yahoo! directly into your own
>>>>Applications - visit
>>>>http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
>>>>_______________________________________________
>>>>netcomics-devel mailing list
>>>>net...@li...
>>>>https://lists.sourceforge.net/lists/listinfo/netcomics-devel
>>>>
>>>>
>>>>
>>>>
>>>>
>>>-------------------------------------------------------
>>>This SF.Net email is sponsored by Yahoo.
>>>Introducing Yahoo! Search Developer Network - Create apps
>>>
>>>
>>using Yahoo!
>>
>>
>>>Search APIs Find out how you can build Yahoo! directly into your own
>>>Applications - visit
>>>
>>>
>>http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005
>>
>>
>>>_______________________________________________
>>>netcomics-devel mailing list
>>>net...@li...
>>>https://lists.sourceforge.net/lists/listinfo/netcomics-devel
>>>
>>>
>>>
>>>
>>
>>
>>-------------------------------------------------------
>>This SF.Net email is sponsored by Yahoo.
>>Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
>>Search APIs Find out how you can build Yahoo! directly into your own
>>Applications - visit
>>http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
>>_______________________________________________
>>netcomics-devel mailing list
>>net...@li...
>>https://lists.sourceforge.net/lists/listinfo/netcomics-devel
>>
>>
>>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by Yahoo.
>Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
>Search APIs Find out how you can build Yahoo! directly into your own
>Applications - visit http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005
>_______________________________________________
>netcomics-devel mailing list
>net...@li...
>https://lists.sourceforge.net/lists/listinfo/netcomics-devel
>
>
|