rest2web-develop Mailing List for rest2web (Page 10)
Brought to you by:
mjfoord
You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(74) |
Aug
(71) |
Sep
(6) |
Oct
(6) |
Nov
(3) |
Dec
(7) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(8) |
Feb
(17) |
Mar
(16) |
Apr
(48) |
May
(9) |
Jun
|
Jul
(7) |
Aug
(93) |
Sep
(18) |
Oct
(17) |
Nov
(22) |
Dec
(11) |
2007 |
Jan
(11) |
Feb
|
Mar
(61) |
Apr
(14) |
May
(3) |
Jun
|
Jul
(13) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(6) |
2008 |
Jan
|
Feb
|
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(7) |
Oct
(2) |
Nov
(7) |
Dec
(7) |
2009 |
Jan
(2) |
Feb
|
Mar
(4) |
Apr
|
May
(4) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
2010 |
Jan
(1) |
Feb
(1) |
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(6) |
Nov
|
Dec
|
2011 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(14) |
Sep
(2) |
Oct
(1) |
Nov
(3) |
Dec
|
2012 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
(1) |
May
(5) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(2) |
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
(2) |
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(4) |
2016 |
Jan
(2) |
Feb
(5) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Michael F. <fuz...@vo...> - 2006-12-06 23:19:38
|
Grzegorz Adam Hankiewicz wrote: > At some point I performed a checkout and running it generated: > > /home/gradha/instalacion_manual/rest2web-dist-229/rest2web/restprocessor.py:41: DeprecationWarning: Non-ASCII character '\xc3' in file /home/gradha/instalacion_manual/rest2web-dist-229/rest2web/restindex.py on line 4, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details > from rest2web.restindex import read_restindex, default_keywords, default_restindex > > Looking at the culprit, it is the expanded svn keyword LastChangedDate > which expands on my sistem to "2006-10-11 00:50:49 +0200 (mié, 11 > oct 2006)". > Aargh... :-) Hmmm... I find these useful. It is useful to be able to look at a file and see when it was last changed and by whom. Can I change this to a different date format that doesn't screw you up ? Fuzzyman http://www.voidspace.org.uk/index2.shtml -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.9/573 - Release Date: 05/12/2006 |
From: Michael F. <fuz...@vo...> - 2006-12-06 20:56:15
|
Grzegorz Adam Hankiewicz wrote: > On 2006-10-10, Michael Foord <fuz...@gm...> wrote: >> I now do 'expanduser' (~) expansion for the paths in the config file and the >> 'file' keyword in restindexes. >> >> Anywhere else ? > > In theory this should happen "everywhere", in a transparent way. As far as I *know* rest2web never writes back paths to configuration files or back into the restindexes. As far as I know it also now expands tilde in all the relevant places. If you find any I've missed let me know. Fuzzyman http://www.voidspace.org.uk/python/index.shtml -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.9/573 - Release Date: 05/12/2006 |
From: Grzegorz A. H. <gr...@ti...> - 2006-12-06 20:10:06
|
At some point I performed a checkout and running it generated: /home/gradha/instalacion_manual/rest2web-dist-229/rest2web/restprocessor.= py:41: DeprecationWarning: Non-ASCII character '\xc3' in file /home/gradh= a/instalacion_manual/rest2web-dist-229/rest2web/restindex.py on line 4, b= ut no encoding declared; see http://www.python.org/peps/pep-0263.html for= details from rest2web.restindex import read_restindex, default_keywords, defaul= t_restindex Looking at the culprit, it is the expanded svn keyword LastChangedDate which expands on my sistem to "2006-10-11 00:50:49 +0200 (mi=C3=A9, 11 oct 2006)". This is an evil feature carried from CVS. Depending on future versions this warning may become an error, in which case performing checkouts of python source from svn on non-English locales may be impossible. Personally I see no use in expanded keywords (they were good when you had to share code printing it on paper, but today...) which are also a threat to clean merges between development branches, but there you go. Know that it can be problematic. |
From: Grzegorz A. H. <gr...@ti...> - 2006-12-06 19:55:39
|
On 2006-10-10, Michael Foord <fuz...@gm...> wrote: > I now do 'expanduser' (~) expansion for the paths in the config file and the > 'file' keyword in restindexes. > > Anywhere else ? In theory this should happen "everywhere", in a transparent way. What I mean about transparent is that if you let users write '~/something' in a configuration file, you can't write it back to disk as '/home/user/something', since that may be or not the same username on a different machine if I've copied that over the network to another machine/account, or just happen to work on Linux and Macs, where the paths are different. Internally that's a pain, since you basically need to maintain the enduser version and always expand it before using the filename. Sort of the same goes for symlinks, where you can't go up the tree with "cd .." because you may not end up in the place you expected. I've always been tempted to use a special filename class which would return the user specified string or the full real path name. This can be handy when you get two paths and try to find out if you can build a relative likn from one to the other. |
From: Debian t. w. <no...@he...> - 2006-12-01 23:57:57
|
FYI: The status of the rest2web source package in Debian's testing distribution has changed. Previous version: 0.5.0.svn-r224-1 Current version: 0.5.0.svn-r227-1 -- This email is automatically generated; he...@ma... is responsible. See http://people.debian.org/~henning/trille/ for more information. |
From: <ow...@bu...> - 2006-11-24 19:48:49
|
Processing commands for co...@bu...: > # Automatically generated email from bts, devscripts version 2.9.26 > reopen 399359 Bug#399359: rest2web: compile errors with python 2.5 Bug reopened, originator not changed. > End of message, stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) |
From: Bastian K. <ca...@de...> - 2006-11-24 18:27:16
|
Package: rest2web Version: 0.5.0.svn-r227-1 Followup-For: Bug #399359 Hi, sorry to be nitpicking, but I still have compile errors in pathutils.py: Compiling /var/lib/python-support/python2.5/rest2web/pythonutils/pathutils.py ... File "/var/lib/python-support/python2.5/rest2web/pythonutils/pathutils.py", line 23 from __future__ import generators SyntaxError: from __future__ imports must occur at the beginning of the file This is also solved by movein the __future__ import to the top of the file. Regards, Bastian -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-treasure8 Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15) Versions of packages rest2web depends on: ii python 2.4.4-1 An interactive high-level object-o ii python-docutils 0.4-3 Utilities for the documentation of ii python-support 0.5.6 automated rebuilding support for p rest2web recommends no packages. -- no debconf information |
From: Michael F. <ar...@vo...> - 2006-11-20 00:13:21
|
martin f krafft wrote: > also sprach Michael Foord <fuz...@vo...> [2006.11.08.1621 +0100]: > >> Nope, no-one has ever asked for it before. What sort of interface would >> you like ? >> > > How about the attribute name of the page variables, e.g. link-title? > > Alternatively, a function could be passed as comparator. using > callable(), you can easily distinguish between the two. :) > Right. 'sections' is an ordered dictionary, ordered by the *sections*. Each section. The 'pages' entry of each section is a list of dictionaries representing each page. This is what we want to order. So the 'sort' method of 'sections' is used to sort the sections, not the pages. What I have done is implemented a new method for 'sections': 'sortpages' This is now in subversion. Docs below. ``sections`` has a method for sorting the pages contained in all the section dictionaries. By default the pages are sorted according to the ``section-pages`` in the restindex. If you don't use section-pages, the ordering is arbitrary. The ``sortpages`` method allows you to sort the pages by ``link-title`` (alphabetical) or pass in a custom function to do the sorting. (The same sort of function you would pass to the Python ``sort`` method of lists.) sections.sortpages(sortorder, section=True) ``sortorder`` can either be the string ``link-title`` or a custom function. By default, calling ``sortpages`` will sort all the sections. Alternatively you can pass in a string (or None), to specify which section to sort. What I haven't done yet is tested this. I'm part way through creating a test case and will probably complete it tomorrow. Comments and bug reports welcomed. :-) Michael http://www.voidspace.org.uk/index2.shtml -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.14.7/538 - Release Date: 18/11/2006 |
From: Michael F. <fuz...@vo...> - 2006-11-19 21:40:56
|
Hello all, Minor rest2web changes in Subversion. Fix odict for Python 2.5 compatibility. Minor doc fixes. Added debugging info to embedded_code. Fuzzyman http://www.voidspace.org.uk/index2.shtml -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.14.7/538 - Release Date: 18/11/2006 |
From: martin f k. <ma...@ma...> - 2006-11-08 22:57:43
|
also sprach Michael Foord <ar...@vo...> [2006.11.08.2338 +0100= ]: > Ok, I'll work on this for the next release. You are seriously competing for being my favourite upstream, huh? :) --=20 martin; (greetings from the heart of the sun.) \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck =20 spamtraps: mad...@ma... =20 an egg has the shortest sex-life of all: if gets laid once; it gets eaten once. it also has to come in a box with 11 others, and the only person who will sit on its face is its mother. |
From: Michael F. <ar...@vo...> - 2006-11-08 22:39:27
|
martin f krafft wrote: > also sprach Michael Foord <fuz...@vo...> [2006.11.08.1621 +0100]: > >> Nope, no-one has ever asked for it before. What sort of interface would >> you like ? >> > > How about the attribute name of the page variables, e.g. link-title? > > Alternatively, a function could be passed as comparator. using > callable(), you can easily distinguish between the two. :) > Ok, I'll work on this for the next release. Fuzzyman http://www.voidspace.org.uk/index2.shtml > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Rest2web-develop mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/rest2web-develop > -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.13.32/523 - Release Date: 07/11/2006 |
From: Gael V. <gae...@no...> - 2006-11-08 15:38:52
|
On Wed, Nov 08, 2006 at 04:26:27PM +0100, martin f krafft wrote: > also sprach Michael Foord <fuz...@vo...> [2006.11.08.1621 = +0100]: > > Nope, no-one has ever asked for it before. What sort of interface wou= ld=20 > > you like ? > How about the attribute name of the page variables, e.g. link-title? > Alternatively, a function could be passed as comparator. using > callable(), you can easily distinguish between the two. :) +1 ! I would like to use userdata on my pages that happen to be the date. You can keep this use case in mind if you are going to create an interface. --=20 Ga=EBl |
From: martin f k. <ma...@ma...> - 2006-11-08 15:26:44
|
also sprach Michael Foord <fuz...@vo...> [2006.11.08.1621 +010= 0]: > Nope, no-one has ever asked for it before. What sort of interface would= =20 > you like ? How about the attribute name of the page variables, e.g. link-title? Alternatively, a function could be passed as comparator. using callable(), you can easily distinguish between the two. :) --=20 martin; (greetings from the heart of the sun.) \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck =20 spamtraps: mad...@ma... =20 "she is absolutely inadmissible into society. many a woman has a past, but I am told that she has at least a dozen, and that they all fit." -- oscar wilde |
From: Michael F. <fuz...@vo...> - 2006-11-08 15:22:21
|
martin f krafft wrote: > also sprach Michael Foord <fuz...@vo...> [2006.11.08.1512 +0100]: > >> You can explicitly specify an order for files within a section using the >> 'section-pages' keyword in the restindex. >> >> section-pages: section-name, page1, page2, page3 >> >> If you only use the default section within a directory then you can do : >> >> section-pages: , page1, page2, page3 >> >> (Extra leading comma to specify the default section ordering.) >> >> I use this feature a lot where I want to specify the order of pages - >> and it usually has little to do with page title or filename. >> > > Well, in my case it does, and I *hate* "explicit". So there's no > other way to make it sort by filename or title automatically? > Nope, no-one has ever asked for it before. What sort of interface would you like ? Fuzzyman http://www.voidspace.org.uk/index2.shtml > Cheers, > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Rest2web-develop mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/rest2web-develop > |
From: martin f k. <ma...@ma...> - 2006-11-08 14:18:42
|
also sprach Michael Foord <fuz...@vo...> [2006.11.08.1512 +010= 0]: > You can explicitly specify an order for files within a section using the= =20 > 'section-pages' keyword in the restindex. > =20 > section-pages: section-name, page1, page2, page3 >=20 > If you only use the default section within a directory then you can do : >=20 > section-pages: , page1, page2, page3=20 >=20 > (Extra leading comma to specify the default section ordering.) >=20 > I use this feature a lot where I want to specify the order of pages -=20 > and it usually has little to do with page title or filename. Well, in my case it does, and I *hate* "explicit". So there's no other way to make it sort by filename or title automatically? Cheers, --=20 martin; (greetings from the heart of the sun.) \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck =20 spamtraps: mad...@ma... =20 "president thieu says he'll quit if he doesn't get more than 50% of the vote. in a democracy, that's not called quitting." -- the washington post |
From: martin f k. <ma...@ma...> - 2006-11-08 14:17:44
|
also sprach Michael Foord <fuz...@vo...> [2006.11.08.1507 +010= 0]: > It *ought* to use the ordering you declare them in the restindex... Well, I am not doing anything in restindex. All the pages I want in the minibar are in a subdirectory. There's no sectionlist or section-pages anywhere, meaning that sections only has one item: sections[None]. I actually care about the sorting of sections[None]['pages']. --=20 martin; (greetings from the heart of the sun.) \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck =20 spamtraps: mad...@ma... =20 "if ever somethin' don't feel right to you, remember what pancho said to the cisco kid... `let's win, before we are dancing at the end of a rope, without music.'" -- sailor |
From: Michael F. <fuz...@vo...> - 2006-11-08 14:13:34
|
Michael Foord wrote: > martin f krafft wrote: > >> Hi there, >> >> The sections variable is an OrderedDict. I am, however, confused as >> to how it's ordered. I have files 1-6.txt (so 1.txt, 2.txt, ..., >> 6.txt), and they have titles with starting letters G,R,K,P,S,V >> respectively. Yet, when I iterate sections, the order I get is >> 4,1,2,3,6,5 (P,G,R,K,V,S). So I guess neither filename nor title >> actually play a role. >> >> > It *ought* to use the ordering you declare them in the restindex... > > Sorry, I got confused. My answer was only partially helpful. You can explicitly specify an order for files within a section using the 'section-pages' keyword in the restindex. section-pages: section-name, page1, page2, page3 If you only use the default section within a directory then you can do : section-pages: , page1, page2, page3 (Extra leading comma to specify the default section ordering.) I use this feature a lot where I want to specify the order of pages - and it usually has little to do with page title or filename. Fuzzyman http://www.voidspace.org.uk/index2.shtml > Fuzzyman > http://www.voidspace.org.uk/index2.shtml > > >> How can I then influence the sort order of the sections variable, >> which is used e.g. by minibar. >> >> Cheers, >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Rest2web-develop mailing list >> Res...@li... >> https://lists.sourceforge.net/lists/listinfo/rest2web-develop >> >> > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Rest2web-develop mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/rest2web-develop > > |
From: Michael F. <fuz...@vo...> - 2006-11-08 14:07:42
|
martin f krafft wrote: > Hi there, > > The sections variable is an OrderedDict. I am, however, confused as > to how it's ordered. I have files 1-6.txt (so 1.txt, 2.txt, ..., > 6.txt), and they have titles with starting letters G,R,K,P,S,V > respectively. Yet, when I iterate sections, the order I get is > 4,1,2,3,6,5 (P,G,R,K,V,S). So I guess neither filename nor title > actually play a role. > It *ought* to use the ordering you declare them in the restindex... Fuzzyman http://www.voidspace.org.uk/index2.shtml > How can I then influence the sort order of the sections variable, > which is used e.g. by minibar. > > Cheers, > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Rest2web-develop mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/rest2web-develop > |
From: martin f k. <ma...@ma...> - 2006-11-08 13:56:14
|
also sprach martin f krafft <ma...@ma...> [2006.11.08.1446 +0100]: > How can I then influence the sort order of the sections variable, > which is used e.g. by minibar. To sort by filename (=3D=3D target), I used the following hack, but there has to be a better way: <# def page_sorter(a, b): return cmp(a['target'], b['target']) sections[None]['pages'].sort(page_sorter) minibar(sections, intro=3D'', subsect=3DFalse) #> --=20 martin; (greetings from the heart of the sun.) \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck =20 spamtraps: mad...@ma... =20 the best way to accelerate a computer running windoze is at 9.81 ms^-2 |
From: martin f k. <ma...@ma...> - 2006-11-08 13:46:34
|
Hi there, The sections variable is an OrderedDict. I am, however, confused as to how it's ordered. I have files 1-6.txt (so 1.txt, 2.txt, ..., 6.txt), and they have titles with starting letters G,R,K,P,S,V respectively. Yet, when I iterate sections, the order I get is 4,1,2,3,6,5 (P,G,R,K,V,S). So I guess neither filename nor title actually play a role. How can I then influence the sort order of the sections variable, which is used e.g. by minibar. Cheers, --=20 martin; (greetings from the heart of the sun.) \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck =20 spamtraps: mad...@ma... =20 fighting for peace is like screwing for virginity. -- the irish times, washington dc |
From: Michael F. <fuz...@vo...> - 2006-11-03 15:43:17
|
Gael Varoquaux wrote: > Just upgraded to rest2web 0.5.0 and my embedded code is crashing r2w. I > added a few lines to "embedded_code.py" to print some more debugging > info. I am sending the file only as I am really lame with diff. Could > the changes go upstream ? > Cool - and thanks for the code. I'll look through it, it sounds like a great idea. Fuzzyman http://www.voidspace.org.uk > Gaël -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.13.25/515 - Release Date: 03/11/2006 |
From: Michael F. <fuz...@vo...> - 2006-11-03 15:40:58
|
Gael Varoquaux wrote: > On Wed, Nov 01, 2006 at 03:25:41PM +0000, Michael Foord wrote: > >> Other than that the best option (IIUC) would be a preprocessor that runs >> over your so source files and spits out files minus restindex. You could >> also strip out macros. >> > > Yes, I was wondering if this was available using r2w. > > Sorry for the late reply. (and thanks for the nice comments). I don't think this is a feature that fits directly into rest2web. Putting your restindex into a rest comment is how you can keep your source documents as valid ReST documents. Fuzzyman http://www.voidspace.org.uk > On a side note, my girlfriend has been evaluating the options for > rebuilding here lab's website. So we have been discussing the qualities > of the different solution, and r2w really stands out. Kudos ! > > Gaël > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Rest2web-develop mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/rest2web-develop > > -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.13.25/515 - Release Date: 03/11/2006 |
From: Gael V. <gae...@no...> - 2006-11-01 15:49:03
|
Just upgraded to rest2web 0.5.0 and my embedded code is crashing r2w. I added a few lines to "embedded_code.py" to print some more debugging info. I am sending the file only as I am really lame with diff. Could the changes go upstream ? Ga=EBl |
From: Gael V. <gae...@no...> - 2006-11-01 15:33:17
|
On Wed, Nov 01, 2006 at 03:25:41PM +0000, Michael Foord wrote: > Other than that the best option (IIUC) would be a preprocessor that run= s=20 > over your so source files and spits out files minus restindex. You coul= d=20 > also strip out macros. Yes, I was wondering if this was available using r2w. On a side note, my girlfriend has been evaluating the options for rebuilding here lab's website. So we have been discussing the qualities of the different solution, and r2w really stands out. Kudos ! Ga=EBl |
From: Michael F. <fuz...@vo...> - 2006-11-01 15:26:00
|
Gael Varoquaux wrote: > Hi, > > Maybe this function is already in r2w, but I was wondering, can I ask > r2w to give me the plain rst without macros, and co, what the rst > processor gets ? This would be usefull for compiling a pdf version of > the site. > Macros generate HTML, but they pass unscathed through the rst processor. So all you need to do is strip off the restindex/uservalues and you get what is passed to the rst processor. You can also now include the restindex in a ReST comment, so your source files remain valid ReST. Other than that the best option (IIUC) would be a preprocessor that runs over your so source files and spits out files minus restindex. You could also strip out macros. Fuzzyman http://www.voidspace.org.uk > Cheers, > > Gaël > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Rest2web-develop mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/rest2web-develop > > |