[campsite-dev] HTMLArea update
  • 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:

    Title of New Page

    Which gets transformed into:

    Title of New Page

    when it is saved.

    Campsite internal links has a popup like before. In the editor, the
    link is represented as:

    href="campsite_internal_link?IdPublication=1&IdLanguage=1&NrIssue=2">My
    Link


    Which gets transformed into:

    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

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • 6 Comments sorted by
  • This is a multipart message in MIME format.
    --=_alternative 00197558C1256F2C_=
    Content-Type: text/plain; charset="us-ascii"

    Hi Paul,

    Good to see the progress with HTMLarea. I have a couple of questions I
    wanted to ask:

    1) Are the changes we're making going to allow for the HTMLarea
    community's updates? I'd hate for you (and us) to be stuck in a
    development cul-de-sac with our development.

    2) When we're done customizing HTMLarea, how will we present it back to
    the HTMLarea community? You think there's any chance of their community
    taking up your changes?


    doug






    Paul Baranowski
    10/12/2004 11:06 PM
    Please respond to campsite-dev


    To: campsite-dev@campware.org
    cc:
    Subject: [campsite-dev] HTMLArea update


    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:

    Title of New Page

    Which gets transformed into:

    Title of New Page

    when it is saved.

    Campsite internal links has a popup like before. In the editor, the
    link is represented as:

    href="campsite_internal_link?IdPublication=1&IdLanguage=1&NrIssue=2">My
    Link


    Which gets transformed into:

    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




    --=_alternative 00197558C1256F2C_=
    Content-Type: text/html; charset="us-ascii"



    Hi Paul,



    Good to see the progress with HTMLarea. I have a couple of questions I wanted to ask:



    1) Are the changes we're making going to allow for the HTMLarea community's updates? I'd hate for you (and us) to be stuck in a development cul-de-sac with our development.



    2) When we're done customizing HTMLarea, how will we present it back to the HTMLarea community? You think there's any chance of their community taking up your changes?





    doug













    Paul Baranowski <paul@paulbaranowski.org>

    10/12/2004 11:06 PM

    Please respond to campsite-dev


           

            To:        campsite-dev@campware.org

            cc:        

            Subject:        [campsite-dev] HTMLArea update






    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








    --=_alternative 00197558C1256F2C_=--

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • Hey Paul

    Sounds like good work. About the headings though, is there a reason why
    you didn't just use the

    and/or

    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:
    >
    > Title of New Page
    >
    > Which gets transformed into:
    >
    > Title of New Page
    >
    > when it is saved.
    >
    > Campsite internal links has a popup like before. In the editor, the
    > link is represented as:
    >
    > > href="campsite_internal_link?IdPublication=1&IdLanguage=1&NrIssue=2">My
    > Link

    >
    > Which gets transformed into:
    >
    > 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
    >
    >

    ------------------------------------------
    Posted to Phorum via PhorumMail

  • 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
    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

    and/or

    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:
    >
    > Title of New Page
    >
    > Which gets transformed into:
    >
    > Title of New Page
    >
    > when it is saved.
    >
    > Campsite internal links has a popup like before. In the editor, the
    > link is represented as:
    >
    > > href="campsite_internal_link?IdPublication=1&IdLanguage=1&NrIssue=2">My
    > Link
    >
    > Which gets transformed into:
    >
    > 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
    >
    >

    ------------------------------------------
    Posted to Phorum via PhorumMail







  • There are only a few changes I've made to the core package - fixing
    some small bugs, some of which I have already posted to the forums. 
    Most of the changes, though, are plugins in a separate file.  Our
    changes are entirely campsite-specific so I dont think too many people
    will care about them except for example purposes.



    There is one somewhat larger change that needs to be made to HTMLArea
    in order to make it a better user experience, which I intend to take up
    with the developers soon.  The quirk is that when a popup appears, it
    first appears as a little box and then it resizes and centers itself in
    the middle of the screen.  It should be possible to just popup the
    window in the center without all the crazy effects.



    - Paul





    Douglas.Arellanes@mdlf.org wrote:
    cite="midOF9A0B6B0A.FD150704-ONC1256F2C.00193D1B-C1256F2C.00197571@mdlf.org"
    type="cite">

    Hi Paul,




    Good to see the progress with
    HTMLarea. I have a couple of questions I wanted to ask:





    1) Are the changes we're making
    going to allow for the HTMLarea community's updates? I'd hate for you
    (and us) to be stuck in a development cul-de-sac with our development.





    2) When we're done customizing
    HTMLarea, how will we present it back to the HTMLarea community? You
    think there's any chance of their community taking up your changes?







    doug





















    Paul Baranowski
    <paul@paulbaranowski.org>

    10/12/2004 11:06 PM


    Please respond to campsite-dev



           


            To:      
     campsite-dev@campware.org



            cc:        


            Subject:      
     [campsite-dev] HTMLArea update







    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












    ------------------------------------------
    Posted to Phorum via PhorumMail
  • With this approach we can make the subhead have any visual appearance we
    want. Right now, subheads appear with a dashed grey border around
    them. The great thing is that this can be changed for each campsite
    instance if someone does like the style. To change the style, you just
    have to edit a CSS file.

    - Paul


    John Pye wrote:

    > Hey Paul
    >
    > Sounds like good work. About the headings though, is there a reason
    > why you didn't just use the

    and/or

    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:
    >>
    >> Title of New Page
    >>
    >> Which gets transformed into:
    >>
    >> Title of New Page
    >>
    >> when it is saved.
    >>
    >> Campsite internal links has a popup like before. In the editor, the
    >> link is represented as:
    >>
    >> >> href="campsite_internal_link?IdPublication=1&IdLanguage=1&NrIssue=2">My
    >> Link

    >>
    >> Which gets transformed into:
    >>
    >> 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
    >>
    >>
    >

    ------------------------------------------
    Posted to Phorum via PhorumMail







  • It would be great to have a test campsite server showing the latest
    CVS changes.  Do we have a server to set this up on?  Can someone else
    do this?  I am horribly bad at trying to install campsite, I've never
    managed to do it without lots of help from mugur.



    - Paul





    sava.tatic@mdlf.org wrote:
    cite="midOF05202145.209BC4D8-ONC1256F2C.0031F74D-C1256F2C.00324076@mdlf.org"
    type="cite">
    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














    ------------------------------------------
    Posted to Phorum via PhorumMail