You currently have to edit all the web page files in two places, with the
source files being the core content and the generation step adding all the
headers, footer, menu information to produce the final page which is
published to /site so that the webserver pulls down the changes and
publishes them.

Since we don't actually have anything too complicated and we are just
storing the pages as html source anyway rather than some base format that
gets converted, ideally I would prefer to just be able to edit the live site
files for *everything* and do away with the generation step entirely. To do
that would probably require a bit of re engineering though to make things
more maintainable though. I dont believe we have access to PHP on the main
ASF webserver but it does have Server Side Includes enabled which could also
be used to allow including the menus, header, footer etc from a central copy
rather than requiring per-page maintenance. The downside with any
improvements along this line though is that you then probably need to test
your updates using an webserver rather than just viewing the files locally.

Robbie

On 27 April 2011 08:01, Gordon Sim <[email protected]> wrote:

> On 04/27/2011 12:26 AM, Robbie Gemmell wrote:
>
>> You are editing the right file Justin, but it looks like the live version
>> was updated without updating the source file accordingly (see
>> http://svn.apache.org/viewvc?view=revision&revision=1088983).
>>
>
> My bad, sorry! Let me ask however why you need to edit that file in two
> different locations? I can understand having the 'source' for generated
> content under trunk and also having specific generated output from that
> checked in under site. For the download page however its checked in 'as is'
> to site, right? So what purpose does the version under trunk serve?
>
> It also looks like the files had diverged before that last commit...
>
>
> ---------------------------------------------------------------------
>
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:[email protected]
>
>

Reply via email to