Paul Baranowski <paul@paulbaranowski.org> 10/12/2004 11:06 PM | To: campsite-dev@campware.org cc: Subject: [campsite-dev] HTMLArea update |
Paul Baranowski <paul@paulbaranowski.org> 10/12/2004 11:06 PM | To: campsite-dev@campware.org cc: Subject: [campsite-dev] HTMLArea update |
John,
We don't want to attach any formatting to the subheads by default. They are
internal tags used by the Campsite parser to paginate an article. So the
question is how do we visually identify them.
Paul, would it be possible to install your changes on a test instance so
that the non-CVS crowd among us could see it in action and comment?
Sava
John Pye
<john@curioussymb To: campsite-dev@campware.org
ols.com> cc:
Subject: Re: [campsite-dev] HTMLArea update
10/13/04 07:18 AM
Please respond to
campsite-dev
Hey Paul
Sounds like good work. About the headings though, is there a reason why
you didn't just use the <h1> and/or <h2> tags for subhead and/or head?
That would presumably result in a more intuitive appearance of the text
while actually doing the editing?
JP
Paul Baranowski wrote:
I just wanted to give an update on the status of the HTMLarea
integration so far. I've implemented "subheads" and "campsite
internal links". The way I did it is to use HTML in the editor which
gets transformed into campsite template tags when they are saved, and
reverse-transformed when the article is loaded.
Subheads are implemented as:
<span class="campsite_subhead">Title of New Page</span>
Which gets transformed into:
<!** Title>Title of New Page<!** EndTitle>
when it is saved.
Campsite internal links has a popup like before. In the editor, the
link is represented as:
<a
href="campsite_internal_link?IdPublication=1&IdLanguage=1&NrIssue=2">My
Link</a>
Which gets transformed into:
<!** Link Internal IdPublication=1&IdLanguage=1&NrIssue=2>My Link<!**
EndLink>
when it is saved.
I've checked in this code to CVS - all you developers out there should
give it a try. The subhead icon is the blue square, and the internal
link icon is the green house. (By the way, I need 16x16 icons for
this stuff)
- Paul
It looks like you're new here. If you want to get involved, click one of these buttons!