Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Web

Re: updated zope foundation website texts in svn.zope.org

 

 

Zope web RSS feed   Index | Next | Previous | View Threaded


darryl at darrylcousins

Sep 22, 2006, 3:52 AM

Post #1 of 5 (1338 views)
Permalink
Re: updated zope foundation website texts in svn.zope.org

Hi Martijn,

Sorry my response is a bit slow.

* I've got the new docs up.

* Menu generated from directory structure. Omitting directories with
binary files only.

* Renamed members/members.txt to index.txt (easier if we have a default
index in each directory.

* Menu title and description and page title pulled from first few lines
of text.

http://zf.tfws.org.nz/

Code at:
svn://treefernwebservices.co.nz/var/svn/zopefoundation/trunk/www


Best regards,
Darryl

On Thu, 2006-09-21 at 23:17 +0200, Martijn Faassen wrote:
> Hey,
>
> I've placed updated versions of the texts now at svn.zope.org, here:
>
> http://svn.zope.org/web/zf/trunk/
>
> You should be able to check this out like this:
>
> svn co svn://svn.zope.org/repos/main/web/zf/trunk zf
>
> and loosen your scripts on it. There are now PDFs there which obviously
> don't need any translation, but do need to be in the final site. Ignore
> the htmlize.py script, that's just for my own testing purposes.
>
> One bit that I haven't figured out yet is how to determine order in the
> menu generation code. Any ideas?
>
> Regards,
>
> Martijn

_______________________________________________
Zope-web maillist - Zope-web [at] zope
http://mail.zope.org/mailman/listinfo/zope-web


faassen at infrae

Sep 22, 2006, 5:03 AM

Post #2 of 5 (1228 views)
Permalink
Re: updated zope foundation website texts in svn.zope.org [In reply to]

Darryl Cousins wrote:
> Hi Martijn,
>
> Sorry my response is a bit slow.
>
> * I've got the new docs up.

Slowly we're starting to look like a real site, great! I'll do some more
work on the text over the weekend.

> * Menu generated from directory structure. Omitting directories with
> binary files only.
>
> * Renamed members/members.txt to index.txt (easier if we have a default
> index in each directory.
>
> * Menu title and description and page title pulled from first few lines
> of text.
>
> http://zf.tfws.org.nz/
>
> Code at:
> svn://treefernwebservices.co.nz/var/svn/zopefoundation/trunk/www

I'll take a look at the code, to investigate whether we want to maintain
this on svn.zope.org eventually. Are you a svn.zope.org committer, by
any chance?

One thing I noticed is that the 'csv-table' directive I use doesn't work
on your machine - it doesn't seem to recognize the 'tab' option for the
delim setting. I think you might need a newer version of docutils? It
does work on my machine.

Regards,

Martijn
_______________________________________________
Zope-web maillist - Zope-web [at] zope
http://mail.zope.org/mailman/listinfo/zope-web


darryl at darrylcousins

Sep 22, 2006, 1:26 PM

Post #3 of 5 (1235 views)
Permalink
Re: updated zope foundation website texts in svn.zope.org [In reply to]

Hi Martijn,

> I'll take a look at the code, to investigate whether we want to maintain
> this on svn.zope.org eventually. Are you a svn.zope.org committer, by
> any chance?

My signed Zope contributors agreement went in the mail last week.

The code uses mod_python/vampire/docutils/ZopePageTemplates. It's not
terribly fast. It may be just as easy to convert it to zope.org's
Plone/CMF at a later date. Your call.

> One thing I noticed is that the 'csv-table' directive I use doesn't work
> on your machine - it doesn't seem to recognize the 'tab' option for the
> delim setting. I think you might need a newer version of docutils? It
> does work on my machine.

Cheers, it works on my home machine but I didn't test that page after
putting up on my server. I'll fix that - done.

Best regards,
Darryl

> Regards,
>
> Martijn

_______________________________________________
Zope-web maillist - Zope-web [at] zope
http://mail.zope.org/mailman/listinfo/zope-web


darryl at darrylcousins

Sep 22, 2006, 3:05 PM

Post #4 of 5 (1250 views)
Permalink
Re: updated zope foundation website texts in svn.zope.org [In reply to]

Hi Martijn,

I slept on that.

I feel also that some menu titles are a bit long (as they are read from
the rest page title).

Perhaps we could include metadata in the rest document? This could be in
rest syntax and included in page footer, or removed before passing to
docutils:

:Title: Title
:Description: Description
:Weight: Int <menu order>
:Author: Martijn
:Contact: martijn [at] zope
:Revision: $Revision: 4 $
:Date: $Date: 2006-09-23 23:38:21 +0200 $
:Copyright: This document has been placed in the public domain.

This data could also be of practical use when later importing into a
true cms.

Best regards,
Darryl

On Thu, 2006-09-21 at 23:17 +0200, Martijn Faassen wrote:
> One bit that I haven't figured out yet is how to determine order in
> the
> menu generation code. Any ideas?
>
> Regards,
>
> Martijn

_______________________________________________
Zope-web maillist - Zope-web [at] zope
http://mail.zope.org/mailman/listinfo/zope-web


faassen at infrae

Sep 25, 2006, 3:06 AM

Post #5 of 5 (1238 views)
Permalink
Re: updated zope foundation website texts in svn.zope.org [In reply to]

Darryl Cousins wrote:
> Hi Martijn,
>
>> I'll take a look at the code, to investigate whether we want to maintain
>> this on svn.zope.org eventually. Are you a svn.zope.org committer, by
>> any chance?
>
> My signed Zope contributors agreement went in the mail last week.

Great! Faxes to Jim tend to speed up the process, by the way.

> The code uses mod_python/vampire/docutils/ZopePageTemplates. It's not
> terribly fast. It may be just as easy to convert it to zope.org's
> Plone/CMF at a later date. Your call.

Understood, and thank you.

Regards,

Martijn
_______________________________________________
Zope-web maillist - Zope-web [at] zope
http://mail.zope.org/mailman/listinfo/zope-web

Zope web RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.