Archived DevDiscussion?


comments:

trac --simon, Thu, 01 Jul 2004 04:17:50 -0700 reply
Looks like CVSTrac? has become trac . We need to learn from them.

Re: darcs patch --Simon Michael, Fri, 02 Jul 2004 10:39:46 -0700 reply
Hi Bob.. it looks like this patch does add an extra space. What's up ?

[Do not add extra space on mailin Subject lines. bob+zwiki@mcelrath.org*20040625035843] { hunk ./Extensions/mailin.py 166 - self.realSubject = re.sub(r'.?\[.?\]?(.)',r'\1',self.subject) + self.realSubject = re.sub(r'.*?\[.?\]? ?(.)',r'\1',self.subject) }

Re: darcs patch --Simon Michael, Fri, 02 Jul 2004 10:42:03 -0700 reply

* diff form revert Replace the non-working "cancel" button on the diff form (diffform.pt) with a working "revert" button that will revert the change you're looking at and all successive changes.

The cancel button meant "get rid of this form and show me the page" like on other forms. Anyway I've just applied your patch as-is, looking forward to trying out this revert button. Thanks!

Re: darcs patch --Simon Michael, Fri, 02 Jul 2004 10:44:36 -0700 reply
PS looks like revert might need some security declaration or other protection.

Re: darcs patch --Bob McElrath?, Fri, 02 Jul 2004 11:33:03 -0700 reply
Simon Michael [simon@joyful.com]? wrote:

=20
=20 > * diff form revert Replace the non-working "cancel" button on the diff form (diffform.pt)=
=20
> with a working "revert" button that will revert the change you're looking at a=
nd=20
all successive changes.

The cancel button meant "get rid of this form and show me the page" like=

=20
on other forms. Anyway I've just applied your patch as-is, looking=20 forward to trying out this revert button. Thanks!

It was never clear to me what that was supposed to do, as there is no obvious pending action that is to be cancelled in diffform.

Maybe the browser's back button is sufficent.

Might I suggest a line at the top of diffform.pt that says "Changes for PageName?, Revision 4" (etc) with PageName? clickable so the user can return. As it is there is nothing on diffform.pt that indicates what page you're viewing the diffs for.

I have re-made this patch with the above changes. Please unrecord, and revert the old patch, and pull the new one from http://bob.mcelrath.org/darcs/zwiki

Simon Michael [simon@joyful.com]? wrote:

PS looks like revert might need some security declaration or other=20 protection.

It's there in ZWikiPage.py. The revert method requires Edit privileges, and in diffform.pt, it is only shown if the user has Edit privileges.

Re: darcs patch --Simon Michael, Fri, 02 Jul 2004 11:58:46 -0700 reply
Ah now I get it. Nice! Cc'ing the wiki, sorry for this duplicate post.

Nonetype --Bob McElrath?, Fri, 02 Jul 2004 14:50:40 -0700 reply
I keep seeing this error on mailin:

    2004-07-02T14:40:06 BLATHER(-100) ZWiki failed to send mail to ['bob@mc=
elrath.org'] : Traceback (most recent call last):
      File "/usr/lib/zope/lib/python/Products/ZWiki/Mail.py", line 546, in =
sendMailToSubscribers
        in_reply_to=3Din_reply_to)
      File "/usr/lib/zope/lib/python/Products/ZWiki/Mail.py", line 652, in =
sendMailTo
        strip(subjectSuffix)],''),
      File "/usr/lib/python2.2/string.py", line 136, in join
        return sep.join(words)
    TypeError: sequence item 2: expected string, NoneType found

I don't see how this is occuring, or how subjectSuffix ever gets to be None. Everywhere it is a string. Anyone else seen this?

Note mail is sent successfully despite the error.

darcs cgi updated --simon, Sat, 03 Jul 2004 11:42:08 -0700 reply
I've installed the new darcs cgi interface, but not linked it yet. See CodeRepos.

Nonetype --Simon Michael, Sat, 03 Jul 2004 13:06:03 -0700 reply
Dang, missed the wiki again. Not sure how I'm doing this as reply_to points there!

I wrote:

Tracing it back, I would guess subject is None and it would be coming from realSubject in mailin.py (the regexp that recently changed). I don't see how though, unless you have new changes there.

0.32.rc2 released --simon, Sat, 03 Jul 2004 13:38:58 -0700 reply
ReleaseNotes

getting rst pages --Simon Michael, Sat, 03 Jul 2004 15:12:54 -0700 reply
Hi Michele,

Still I would like to know how to safely delete a given page
call page.delete()
and how to specify the type of the content (reStructuredText, HTML, etc.)

call page.edit(type=stx) (or whatever). Hope this helps. #zwiki is also a good place to get this kind of help.

3 objectives for new functionality - any feedback appreciated --Simon Michael, Sat, 03 Jul 2004 15:23:33 -0700 reply

1. Like on some webpages out there, I would like to enable instant messenger icons showing when the author of this page is online.

I would look at the CMF/Plone product that does something like this - PloneUserTrack ? - for ideas
2. For the author I would like to setup three buttons that allow him/her to easily assign/change access rights to the edited page (only me, authorized roles, everybody).

I've added a link to the old page regulations feature on WikiForNow. This code is in Regulations.py. If you can do this in a simpler way, it might catch on.
3. create a macro/script to allow an author to paste a text from somewhere else, then run this macro to identify and wikify keywords within this text automatically.

That's the same as eg adding a comment isn't it ?

starkiller --Simon Michael, Sat, 03 Jul 2004 15:26:14 -0700 reply

Starkiller pdf link is dead. What impressed you?

It just has to be read. Hope it shows up again.

Nonetype --Bob McElrath?, Sat, 03 Jul 2004 15:49:30 -0700 reply
Patch for this is in my repo. It was because log was being set to None.

http://bob.mcelrath.org/darcs/zwiki

Simon Michael [zwiki-wiki@zwiki.org]? wrote:

Dang, missed the wiki again. Not sure how I'm doing this as reply_to=20 points there! =20 I wrote: =20
Dang, missed the wiki again. Not sure how I'm doing this as reply_to=20 points there! =20 I wrote: =20 Tracing it back, I would guess subject is None and it would be coming=
=20
from realSubject in mailin.py (the regexp that recently changed). I=20 don't see how though, unless you have new changes there.
=20

3 objectives for new functionality - any feedback appreciated -- Mon, 05 Jul 2004 09:35:02 -0700 reply
thanks simon for your feedback.. (i hope i dont start a flamewar saying this, but i am trying not to use plone (unless i need content management), since i think it is becoming way to bloated). Basic zwiki, even CMF is much faster.. thanks for the two references.. i will check them out.. for the macro.. i am looking for something that can any text and create WikiWords? in it.. kind of like using a dictionary to identify main words and if they are next to eachother, like Wiki and Word - to automatically have it create WikiWord. My final goal is to create a script that allows me to copy text from some webpage and as automated as possible create a wikipage as well as WikiWords? on it - for the reason that one of the problems of information overload is that one cannot easily capture and save knowledge found and integrate it in some kind of knowledge structure. a zwiki is perfect for this.. sorry for rambling.. Audi Dealer BMW Dealer Chevrolet Dealer Chrysler Dealer Ford Dealer Jeep Dealer Kia Dealer Lexus Dealer Lincoln Dealer Mazda Dealer Mercury Dealer Mercedes Dealer Mitsubishi Dealer Nissan Dealer Pontiac Dealer Rover Dealer Subaru Dealer Toyota Dealer Vauxhall Dealer Volkswagen Dealer Volvo Dealer

interesting --simon, Mon, 05 Jul 2004 18:05:39 -0700 reply
http://blogs.sun.com/roller/page/MartinHardee/20040624#tufte_story_answerbook - sun answerbook, Edward Tufte

axiom --Bob McElrath?, Tue, 06 Jul 2004 14:07:13 -0700 reply
This is a darned cool use of ZWiki, take a look.

Forwarded message from "Page, Bill" <Bill.Page@drdc-rddc.gc.ca>

Tim,

Here are some more example pages

http://page.axiom-developer.org/zope/Plone/Members/billpage

http://page.axiom-developer.org/zope/Plone/Members/billpage/AxiomCommands

I have made a few more improvements to the AXIOM web interface. I think it will now handle all the usual forms of AXIOM input including multi-line function definitions with standard indentation for blocks, system commands like )show Integer, and graceful output in case of syntax errors, etc.

I have also changed the display so that AXIOM commands appear highlighted and equation numbers appear on the right hand side. As is the convention in LatexWiki,

http://mcelrath.org/Notes/StructuredTextRules

the equation numbers are assigned hyperlink names of the form eq99 (where 99 is the equation number) that can be referenced from within the page simply as (99) or from elsewhere by a url ending in #eq99. For example

http://page.axiom-developer.org/zope/Plone/Members/billpage/AxiomCommands#eq4

I would very much like to get some feedback from other Axiom developers about how this works. If you haven't done so already, please take a minute to register for access to the Axiom portal

http://page.axiom-developer.org/zope/Plone/join_form

Logging on to this site will allow you to edit the pages and re-run Axiom online. You can also create your own wiki web pages that include Axiom output and LaTeX? mathematics. You can also subscribe to the Axiom Wiki so that the contents of new pages and comments on the pages will be sent to you by email.

Yes as you suggest Tim, the same technique could easily be used with other CAS programs - especially those that can produce LaTeX? output. The interface to Axiom consists of a Python module of about 100 lines of code that prepares an input file for Axiom and parses the output. It depends on Bob McElrath?'s LatexWiki extension of Zwiki which runs under Zope and Plone.

http://mcelrath.org/Notes/LatexWiki

The next major step would be to include the Axiom graphics output on the web page. Once you have the basic Axiom graphics functionality up and running and producing postscript format output, I think adding the web interface should be a fairly easy job.

Regards, Bill Page.

Tim,

Here are some more example pages

http://page.axiom-developer.org/zope/Plone/Members/billpage

http://page.axiom-developer.org/zope/Plone/Members/billpage/AxiomCommands

I have made a few more improvements to the AXIOM web interface. I think it will now handle all the usual forms of AXIOM input including multi-line function definitions with standard indentation for blocks, system commands like )show Integer, and graceful output in case of syntax errors, etc.

I have also changed the display so that AXIOM commands appear highlighted and equation numbers appear on the right hand side. As is the convention in LatexWiki,

http://mcelrath.org/Notes/StructuredTextRules

the equation numbers are assigned hyperlink names of the form eq99 (where 99 is the equation number) that can be referenced from within the page simply as (99) or from elsewhere by a url ending in #eq99. For example

http://page.axiom-developer.org/zope/Plone/Members/billpage/AxiomCommands#eq4

I would very much like to get some feedback from other Axiom developers about how this works. If you haven't done so already, please take a minute to register for access to the Axiom portal

http://page.axiom-developer.org/zope/Plone/join_form

Logging on to this site will allow you to edit the pages and re-run Axiom online. You can also create your own wiki web pages that include Axiom output and LaTeX? mathematics. You can also subscribe to the Axiom Wiki so that the contents of new pages and comments on the pages will be sent to you by email.

Yes as you suggest Tim, the same technique could easily be used with other CAS programs - especially those that can produce LaTeX? output. The interface to Axiom consists of a Python module of about 100 lines of code that prepares an input file for Axiom and parses the output. It depends on Bob McElrath?'s LatexWiki extension of Zwiki which runs under Zope and Plone.

http://mcelrath.org/Notes/LatexWiki

The next major step would be to include the Axiom graphics output on the web page. Once you have the basic Axiom graphics functionality up and running and producing postscript format output, I think adding the web interface should be a fairly easy job.

Regards, Bill Page.

> > Elema, > > Check out the page: > > http://page.axiom-developer.org/zope/Plone/wiki/June32004 > > This is a wiki user-editable page. > Each Axiom equation can be run by adding these lines into the page: > > \begin{axiom} > ... (an axiom input line) > \end{axiom} > > I'm not sure if this technique would be useful for ORCCA but you > might find it interesting. The axiom environment causes the > equation to be executed in a background axiom and the result > is rendered on the web page. All equations on the same page > are run in one copy of Axiom making it possible to develop > documentation online. Since ORCCA wants to work with several > systems perhaps it could copy the technique and implement > > \begin{maple} > \begin{yacas} ... etc > > > Bill Page, one of the axiom developers, is responsible for this. > Tim

SearchPage? search for it --DeanG, Tue, 06 Jul 2004 14:50:37 -0700 reply
Have we ever considered putting search results in place of the Search for it button on the URL error page?

SearchPage? search for it --Simon Michael, Tue, 06 Jul 2004 14:59:20 -0700 reply
Yes.. at the time I decided it would be too expensive to have robots triggering random searches all the time.

Those damn robots again. Just the other day I was thinking I would like this. I'd be glad to be convinced it can work.

Re: CPSZWiki 0.0.2 --Simon Michael, Thu, 08 Jul 2004 07:48:01 -0700 reply
Nicolas Gouzy wrote:

Hi

I progress in the "Holy Grail" of compatibility between ZWiki and CPS ;-) CPSZWiki 0.0.2 is stabler and more functional than the previous version. But, it is based on ZWiki 0.31. See : http://zope.org/Members/ngouzy/products/CPSZWiki/CPSZWiki-0.0.2

Regards,

Great Nicolas! Thanks for the update.

Do you have any changes that would make sense for me to integrate ?

PDF --Simon Michael, Thu, 08 Jul 2004 07:55:03 -0700 reply
From zope list, something to try:

- PDF export: since most of the web site will be mathematical, I want to be able to export parts of the web as PDF documents, so pepole can download that, in stead of reading the web online.

LatexWiki won't do this out of the box AFAIK. If you don't mind some python or "glue" programming it should not be too hard.

I guess adding some transformations to the PortalTransforms? tool will allow you both to publish latex content to html and export almost anything to pdf (some html/text -> pdf transforms already exists).

Call Center. New Business . Businesses For Sale. Personal Loan Grant. Cash For Structured Settlement. College Search. Federal Government Grant. Government Grant Loan. Government Grant Money. Homes For Sale. Real Estate. Real Estate Listing. Personal Grant. Send Flower. Wine Club. Ringtone Weight Loss Air Purifier. Gambling. Casino. Poker. Texas Holdem. Betting .

Ringtones

Dating

Ink Cartridge

Dating

TRAMADOL ONLINE

FOREX ONLINE

FOREX CLUB

FOREX CURRENCY EXCHANGE

FEM-DOMINATION STORIES

DVD ONLINE

STOCKING PARADISE

CHEAPEST TRAMADOL ONLINE

Re: CPSZWiki 0.0.2 --Nicolas Gouzy , Thu, 08 Jul 2004 09:01:32 -0700 reply
If you want to integrate directly CPS compatibility inside ZWiki we can discuss about how to do that.

PDF --Bob McElrath?, Thu, 08 Jul 2004 09:09:59 -0700 reply
I have thought about this. Really it requires a backend for STX to produce latex instead of HTML. I'd like to see this too.

You can't currently print latexwiki pages in mozilla because mozilla doesn't print transparent png's properly. They all come out black. Also the printed resolution suckd and reading the math on the printed page is difficult.

Simon Michael [simon@joyful.com]? wrote:

From zope list, something to try: =20
From zope list, something to try: =20 >>- PDF export: since most of the web site will be mathematical, I want =
to=20
be able to export parts of the web as PDF documents, so pepole can=20 download that, in stead of reading the web online. =20
LatexWiki won't do this out of the box AFAIK. If you don't mind some=20 python or "glue" programming it should not be too hard. =20

I guess adding some transformations to the PortalTransforms? tool will allow you both to publish latex content to html and export almost anything to pdf (some html/text -> pdf transforms already exists).

=20

=20

Re: CPSZWiki 0.0.2 --Simon Michael, Thu, 08 Jul 2004 12:29:51 -0700 reply

If you want to integrate directly CPS compatibility inside ZWiki we can discuss about how to do that.

I sure do, but it didn't look so easy.

GREEN CARD LOTTERY MORTGAGE REFINANCE REFINANCE HOME EQUITY LOAN

ALLOWED_* --Bob McElrath?, Sat, 10 Jul 2004 18:22:12 -0700 reply
Regarding our IRC conversation about ALLOWED_* pagetypes,

Why is wwml excluded from plone in the first place? I tried it in my plone site and it seems to work fine. Maybe this should be a user-config level thing (allowed_page_types folder property) and removed =66rom the source altogether?

Is there something about wwml that does not work?

ALLOWED_* --SimonMichael, Sat, 10 Jul 2004 18:26:11 -0700 reply
Yes, it does work fine in plone. It was purely a policy decision by Alex Limi - he didn't want to offer such an old, arguably useless markup format by default.

StructuredText ponderings --DeanG, Wed, 14 Jul 2004 14:20:37 -0700 reply
a. [#877 StructuredText Ignore flags needed]? created, additional examples appreciated.

b. Has anyone considered modding STX rendering to ouput NO paragraph tags but 1. Treat \n as a STX "paragraph"/item break (then add
?), and 2. convert \n\n to double space

? Anyone see any immediate problems with this?

Preface: I hope it's not cradle syndrom, but I like STX better than any other wiki formatting systems I've seen out there. Mostly due to multi-character sigils and no-inline HTML (restructuredtext). Unrendered STX looks closest to output than Unrendere MoinMoin, PHPWiki?, etc. Markups like textile look inviting, then surprise you with odd sigils for emphasis,er,italics..yes, HTML is partly to blame, but _ = emphasis (rendered italicized), while + = inserted (rendered underlined.) is odd. What's my point? I hate the double-spacing required by STX. Stranglely, I can live with the indenting...or at least I'm currently mostly frustrated with having to double space stuff when copying from other locations. Lists are the worst.