RE: [netcomics-devel] Line breaks for multiple images?
Brought to you by:
elliotglaysher,
hochstrb
|
From: Hochstedler, B. \(GE Healthcare\) <ben...@me...> - 2005-06-03 15:50:25
|
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?
>=20
>=20
> Cool, I got it... amazing what a difference one 's' can make. Do you=20
> think I should merge the test theme with Default? All I=20
> really changed=20
> (besides the name) was to add one <BR /> to the Body Element=20
> definition. You can see exactly what I modified below.
>=20
> Apparently, the only effect the extra <BR /> has is to make=20
> it so that=20
> successive images are displayed vertically, rather than=20
> horizontally. =20
> It doesn't show up when you only have one image per day.
>=20
> Let me know!
>=20
> Clint Olson
> clintcompute at olsonnetwork dot com
>=20
> [oleclint@repository Themes]$ diff Default.pm Test.pm
> 17,18c17,18
> < package Netcomics::HTML::Themes::Default;
> < use vars '@ISA'; @ISA =3D ("Netcomics::HTML::Theme");
> ---
> > package Netcomics::HTML::Themes::Test;
> > use vars '@ISA'; @ISA =3D ("Netcomics::HTML::Themes::Default");
> 66c66
> < <A HREF=3D"<COMIC_FILE>"><IMG BORDER=3D0 SRC=3D"<COMIC_FILE>" =
<SIZE>></A>
> ---
> > <A HREF=3D"<COMIC_FILE>"><IMG BORDER=3D0 SRC=3D"<COMIC_FILE>"=20
> <SIZE>></A><BR />
> 117c117
> < $name =3D "Default" unless defined $name;
> ---
> > $name =3D "Test" unless defined $name;
>=20
>=20
> Hochstedler, Ben (GE Healthcare) wrote:
>=20
> >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
> >
> > =20
> >
> >>-----Original Message-----
> >>From: net...@li...
> >>[mailto:net...@li...]On=20
> 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. =20
> >>However, I've=20
> >>run into another difficulty. I'm trying to make a copy of=20
> >>the Default=20
> >>theme called Test.pm with my changes in it. I've changed=20
> the module=20
> >>name at the top of the file and the $name variable in the 'new'=20
> >>function. However, when I run netcomics and try to get it=20
> to use the=20
> >>new theme, it tells me:
> >>
> >>The specified theme does not exist: Test.
> >>Valid themes: CleanRound NoStatus Default CleanRoundImbedCaption=20
> >>OldSchool Test
> >>
> >>Which seems slightly odd. Is there somewhere else I need to=20
> >>change to=20
> >>make it recognize the new theme?
> >>
> >>Clint Olson
> >>clintcompute at olsonnetwork dot com
> >>
> >>
> >>Clint Olson wrote:
> >>
> >> =20
> >>
> >>>Hi guys!
> >>> Hey, I recently got into Schlock Mercenary=20
> >>>(http://www.schlockmercenary.com/), a Keenspot comic which=20
> >>> =20
> >>>
> >>consists of=20
> >> =20
> >>
> >>>a single image on weekdays, and multiple images on Sundays (see=20
> >>>http://www.schlockmercenary.com/d/20050529.html for an=20
> >>> =20
> >>>
> >>example). When=20
> >> =20
> >>
> >>>I archive Sundays with netcomics, however, the multiple images are=20
> >>>shown on the generated HTML page in a long horizontal line, with=20
> >>>nothing between them. While this works, it would be really=20
> >>> =20
> >>>
> >>nice to be=20
> >> =20
> >>
> >>>able to make netcomics insert a <br> in between each=20
> >>> =20
> >>>
> >>consecutive image=20
> >> =20
> >>
> >>>for a given day. However, I'm not quite sure what area of=20
> >>> =20
> >>>
> >>netcomics I=20
> >> =20
> >>
> >>>would need to change to write in this behaviour. Does=20
> anybody know=20
> >>>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=20
> >>> =20
> >>>
> >>using Yahoo!
> >> =20
> >>
> >>>Search APIs Find out how you can build Yahoo! directly=20
> into your own
> >>>Applications - visit=20
> >>>http://developer.yahoo.net/?fr=3Doffad-ysdn-ostg-q22005
> >>>_______________________________________________
> >>>netcomics-devel mailing list
> >>>net...@li...
> >>>https://lists.sourceforge.net/lists/listinfo/netcomics-devel
> >>> =20
> >>>
> >>
> >>
> >>
> >>-------------------------------------------------------
> >>This SF.Net email is sponsored by Yahoo.
> >>Introducing Yahoo! Search Developer Network - Create apps=20
> using Yahoo!
> >>Search APIs Find out how you can build Yahoo! directly into your own
> >>Applications - visit=20
> >>http://developer.yahoo.net/?fr=3Doffad-ysdn-ostg-q22005
> >>_______________________________________________
> >>netcomics-devel mailing list
> >>net...@li...
> >>https://lists.sourceforge.net/lists/listinfo/netcomics-devel
> >>
> >> =20
> >>
> >
> >
> >-------------------------------------------------------
> >This SF.Net email is sponsored by Yahoo.
> >Introducing Yahoo! Search Developer Network - Create apps=20
> using Yahoo!
> >Search APIs Find out how you can build Yahoo! directly into your own
> >Applications - visit=20
> http://developer.yahoo.net/?fr=3Dfad-ysdn-ostg-q22005
> >_______________________________________________
> >netcomics-devel mailing list
> >net...@li...
> >https://lists.sourceforge.net/lists/listinfo/netcomics-devel
> > =20
> >
>=20
>=20
>=20
>=20
> -------------------------------------------------------
> 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=20
> http://developer.yahoo.net/?fr=3Doffad-ysdn-ostg-q22005
> _______________________________________________
> netcomics-devel mailing list
> net...@li...
> https://lists.sourceforge.net/lists/listinfo/netcomics-devel
>=20
|