[web2py] App Engine People

2010-07-01 Thread Bruno Rocha
Let's tell the world that we are *web2pying* on Google App Engine! http://www.appenginepeople.net/users/tag/web2py/ {{ }}'s -- http://rochacbruno.com.br

Re: [web2py] Re: App Engine People

2010-07-01 Thread Bruno Rocha
do'nt forget to check in with the tags 'python' and 'web2py' ! 2010/7/1 GoldenTiger goldenboy...@gmail.com: me too On 1 jul, 14:51, mdipierro mdipie...@cs.depaul.edu wrote: good idea. I added myself. On 1 Lug, 07:13, Bruno Rocha rochacbr...@gmail.com wrote: Let's tell the world that we

Re: [web2py] Beginner Question

2010-07-07 Thread Bruno Rocha
Take a look to the String Formating and String Interpolation in Python Documentation http://docs.python.org/library/stdtypes.html#string-formatting-operations 2010/7/7 ra3don ra3do...@gmail.com: I apologize for a seemingly simple question, but what exactly does '% (title)s' do? I ran across it

Re: [web2py] Beginner Question

2010-07-07 Thread Bruno Rocha
Open a Python terminal, and try this example d = {'id':1,'title':'web2py'} d {'id': 1, 'title': 'web2py'} Title for id %(id)s is %(title)s % d 'Title for id 1 is web2py ' 2010/7/7 Bruno Rocha rochacbr...@gmail.com: Take a look to the String Formating and String Interpolation in Python

Re: [web2py] new welcome (scaffolding) app

2010-07-09 Thread Bruno Rocha
Is there any chance to have that options for choose just at the moment of app creation? we put the name for the application, then check what do we want to have within. May be choosing a completely blank new app or a complete one, choosing the theme, to have or not things like Plugins, Wiki,

Re: [web2py] Re: web2py Reference Manual -- a call to arms

2010-07-10 Thread Bruno Rocha
http://www.pyforum.org/ Pyforum, could be a start! with little changes and putting it running on Google App Engine. 2010/7/10 weheh richard_gor...@verizon.net: How shall we do the hosting? Who should administer the site? What to call it? Shouldn't it be under web2py.com/reference_manual or

Re: [web2py] Re: web2py Reference Manual -- a call to arms

2010-07-12 Thread Bruno Rocha
PHP manual is great, I always use, the information are easy to find, and connections with related subjects are simple, one advantage is that it was written in a way that allows various applications, badges, widgets etc using your content I think that information in the PHP manual is organized

Re: [web2py] Re: web2py Reference Manual -- a call to arms

2010-07-12 Thread Bruno Rocha
Look what i am talking about, in action - http://www.pyforum.org/pyforum/default/view_topic/507 2010/7/12 Bruno Rocha rochacbr...@gmail.com PHP manual is great, I always use, the information are easy to find, and connections with related subjects are simple, one advantage

Re: [web2py] Re: language

2010-07-12 Thread Bruno Rocha
Babel works very well for Pylons and TurboGears http://pylonsbook.com/en/1.1/internationalization-and-localization.html http://babel.edgewall.org/ What is Babel? Babel is a collection of Python utilities that assist in internationalizing and localizing Python applications, with an emphasis on

Re: [web2py] Re: openwysiwyg?

2010-07-13 Thread Bruno Rocha
Never used it 2010/7/13 MikeEllis michael.f.el...@gmail.com: FWIW, openwysiwyg doesn't work in Chrome. Mike On Jul 13, 1:19 pm, Jean-Guy jean...@gmail.com wrote: Never used it! Jonhy On 2010-07-13 13:02, mdipierro wrote: on a view [htmledit]. Do you use it? --

Re: [web2py] Re: web2py 1.81.1 is OUT

2010-07-16 Thread Bruno Rocha
I ike the new visual style, just think it should be centralized or fluid. strings of the README are not all being very well translated into Portuguese, I can send you the language file for that. why the administration interface does not have the same new visual style of welcome app? 2010/7/16

Re: [web2py] Re: cube2py news

2010-07-20 Thread Bruno Rocha
Massimo, what about custom fields, there is a way using a widget or I have to change the model? tks 2010/7/20 mdipierro mdipie...@cs.depaul.edu: In the page/meta-code you can do response.meta.keywords='.' response.meta.description='' etc. they will find their way into the header of

Re: [web2py] Re: cube2py news

2010-07-20 Thread Bruno Rocha
), and obviously the way to create custom fields in database, using wiki markup ( a widget) . 2010/7/20 mdipierro mdipie...@cs.depaul.edu: response.meta.mycustomfield='bla bla bla' On Jul 20, 9:38 am, Bruno Rocha rochacbr...@gmail.com wrote: Massimo, what about custom fields, there is a way using

Re: [web2py] Wiki in Chap 3 of Documentation

2010-07-21 Thread Bruno Rocha
I have this app working fine, but I had to change the search to: controller: def search(): an ajax wiki search page return dict(form=FORM(INPUT(_id='keyword', _onkeyup=ajax('bg_find', ['keyword'], 'target');)), target_div=DIV(_id='target')) def bg_find():

Re: [web2py] Re: plugin_wiki

2010-07-21 Thread Bruno Rocha
Where can I download standalone plugin_wiki to include in my running web2py app? 2010/7/21 Tim Michelsen timmichel...@gmx-topmail.de: What does the roadmap look like for the future? Yes, that's exactly my question at the moment. I mean there were a numbert of attempts: t1, t2, c9, cube2py

[web2py] [Plugin_wiki] - Manage categories for blog pages and posts

2010-07-23 Thread Bruno Rocha
Hello, I'm migrating my blog from wordpress to web2py, and to make this possible, I'm creating and testing a series of widgets in plugin_wiki. My intention is to create a blog platform to be based only on the plugin_wiki custom widgets, creating tables and defining widgets through meta-code. I

[web2py] Re: [Plugin_wiki] - Manage categories for blog pages and posts

2010-07-23 Thread Bruno Rocha
I forget... How to use `` name: categoryAdd slug: {{=request.args(0)}} categories: Page,Post,Food,Tech message: divbrbr This page is under strong %s /strong category(ies)brbr/div showmessage: True ``:widget 2010/7/23 Bruno Rocha rochacbr...@gmail.com: Hello, I'm migrating my blog from wordpress

Re: [web2py] Re: book revision

2010-07-24 Thread Bruno Rocha
I would like more detailed information about testing, unittest, docTest. explaining how it works in detail, and showing a good example of a test using the 'test' in appadmin 2010/7/24 mdipierro mdipie...@cs.depaul.edu: I have identified the following items that are missing from the book. Listed

Re: [web2py] Re: Step-by-step tutorial on getting Cube2py up and running?

2010-07-24 Thread Bruno Rocha
The admin group is 'editor' but you can change that login in plugin_wiki.py model I had to change it to run fine on GAE. 2010/7/24 Scott blueseas...@gmail.com: What is the admin group name?  That is, the group to create where you can add users who can edit existing pages.  Thanks! On Jul

[web2py] Error after a page is deleted in plugin_wiki

2010-07-26 Thread Bruno Rocha
I found an error in the model plugin_wiki. 1. Create a new page 2. make some changes to include entries in the table plugin_wiki_page_archive 3. Appadmin go through the table .. _archive and view the historic 4. Delete the page you created 5. Visit again .. _archive through appadmin I guess that

[web2py] Re: [Plugin_wiki] - Manage categories for blog pages and posts

2010-07-26 Thread Bruno Rocha
- Show a counter on category list, showing how many pages is in each category - Create a Modal Box with JavaScript, to add categories, this modal will have a dropdown with categories, and a javascript: caller in menu [1]http://www.web2pyslices.com/main/slices/take_slice/92 2010/7/23 Bruno

Re: [web2py] CLI for Application

2010-07-27 Thread Bruno Rocha
You can do that with xml-rpc or SOAP 2010/7/26 James McMillan j.c.mcmil...@gmail.com I have written a simple application involving a single model and a single controller. I would also like to provide a CLI version for it. Is it possible to run the application and be able to interact (through

Re: [web2py] Re: Error after a page is deleted in plugin_wiki

2010-07-27 Thread Bruno Rocha
(db.category.slug==page).delete() for page in dbcats-dbpages ] It will be better if a page was disabled. tks 2010/7/27 mdipierro mdipie...@cs.depaul.edu This needs some thought. Pages should disabled not deleted. Good catch. On Jul 26, 5:33 pm, Bruno Rocha rochacbr...@gmail.com wrote: I found

Re: [web2py] call a function in another controller

2010-07-27 Thread Bruno Rocha
In a view: {{=LOAD(url=URL(request.application,'controllerName','FunctionName.load'), ajax=True)}} 2010/7/27 ilovesss2004 yyiillu...@gmail.com Hi, Can some one tell me how to call a function which is in another controller other than default controller by ajax? Thanks alot. --

Re: [web2py] Re: call a function in another controller

2010-07-27 Thread Bruno Rocha
, 10:35 pm, Bruno Rocha rochacbr...@gmail.com wrote: In a view: {{=LOAD(url=URL(request.application,'controllerName','FunctionName.load'), ajax=True)}} 2010/7/27 ilovesss2004 yyiillu...@gmail.com Hi, Can some one tell me how to call a function which is in another controller

Re: [web2py] call a function in another controller

2010-07-27 Thread Bruno Rocha
Just as an example teste.py def sum(): return int(request.args(0)) + int(request.args(1)) any view: script $(document).ready(function(){ $('#button').click(function(){ ajax({{=URL(r=request, c='teste',f='sum.load',args=[1,2])}},[],'target'); return false; }); });

[web2py] crud.search() fails on GAE with plugin_wiki

2010-07-27 Thread Bruno Rocha
Hi, trying to use the search widget on GAE i got an error, `` name: search table: plugin_wiki_page ``:widget Only EQUALS and NOT EQUALS runs ok, when I try CONTAINS, STARTSWITH or ENDSWITH I got the error: YOU CAN TRY HERE:

[web2py] Re: crud.search() fails on GAE with plugin_wiki

2010-07-27 Thread Bruno Rocha
Also fails on JQGRID Search, I Know GAE has some limitations performing LIKE, so I think if this have no solution, may be disabled when running in GAE. 2010/7/28 Bruno Rocha rochacbr...@gmail.com Hi, trying to use the search widget on GAE i got an error, `` name: search table

[web2py] Re: crud.search() fails on GAE with plugin_wiki

2010-07-27 Thread Bruno Rocha
: return nfmessage % string 2010/7/28 Bruno Rocha rochacbr...@gmail.com Also fails on JQGRID Search, I Know GAE has some limitations performing LIKE, so I think if this have no solution, may be disabled when running in GAE. 2010/7/28 Bruno Rocha rochacbr...@gmail.com Hi, trying

Re: [web2py] Re: crud.search() fails on GAE with plugin_wiki

2010-07-28 Thread Bruno Rocha
: found.add(page.slug) you can do this found = db(db.plugin_wiki_page.id0).select(db.plugin_wiki_page.slug).find(lambda r: r.slug.find(string)=0) On Jul 27, 10:34 pm, Bruno Rocha rochacbr...@gmail.com wrote: I Solved my problem in a hard way with a custom widget, the only

[web2py] Doubt on plugin_wiki meta pages

2010-07-28 Thread Bruno Rocha
At plugin_wiki index there is: InfoPages started with undescore are considered system pages. In particular: Can I create a page started with _ ? e.g _mycustomsystempage ? - meta-code /cursoweb2py/plugin_wiki/page/meta-code must contain code and it will be executed for every page. -

Re: [web2py] Re: Doubt on plugin_wiki meta pages

2010-07-28 Thread Bruno Rocha
:02 am, Bruno Rocha rochacbr...@gmail.com wrote: At plugin_wiki index there is: InfoPages started with undescore are considered system pages. In particular: Can I create a page started with _ ? e.g _mycustomsystempage ? - meta-code /cursoweb2py/plugin_wiki/page/meta-code must

Re: [web2py] Re: cube2py system (meta) page example request

2010-07-28 Thread Bruno Rocha
TKS. Explained a lot to me, I'd be posting a thread pointing an error to render the sidebar in plugin_wiki. now I'll get with a widget. (Addicting in widgets) 2010/7/28 mdipierro mdipie...@cs.depaul.edu mind that plugin_wiki in itself does not uses meta-header nor meta- footer not

Re: [web2py] Re: cube2py system (meta) page example request

2010-07-28 Thread Bruno Rocha
By The Way There are many differences between plugin_wiki and c2p? which are most important? 2010/7/28 Bruno Rocha rochacbr...@gmail.com TKS. Explained a lot to me, I'd be posting a thread pointing an error to render the sidebar in plugin_wiki. now I'll get with a widget

[web2py] Plugin_wiki - the URL() helper has changed in version 1.81.5?

2010-07-28 Thread Bruno Rocha
##plugin_wiki There was some change in the URL() helper, from 1.81.4 to 1.81.5? To the search widget in http://web2pybrasil.appspot.com/cursoweb2py/default/index before, in 1.81.4 I did this: return UL(*[LI(*[A(db(db.plugin_wiki_page.slug==row)\ .select(db.plugin_wiki_page.title)[0].title,\

[web2py] Re: Plugin_wiki - the URL() helper has changed in version 1.81.5?

2010-07-28 Thread Bruno Rocha
Nevermind, I Solved using this way: _href=URL(request.application,'plugin_wiki','page',args=[row,]) .load is not appended to the link. Tks 2010/7/29 Bruno Rocha rochacbr...@gmail.com ##plugin_wiki There was some change in the URL() helper, from 1.81.4 to 1.81.5? To the search widget

Re: [web2py] Getting Eclipse / Pydev running

2010-07-29 Thread Bruno Rocha
did you provide password parameter to run web2py.py? 2010/7/29 pabloest pab...@gmail.com Hi, I'm having some trouble simply getting started with Eclipse and Pydev for web2py development. I can't get into a debugging mode with web2py.py and the web server will not even start. When I

[web2py] plugin_wiki - Ajax to save pages?

2010-07-29 Thread Bruno Rocha
to save a page in plugin_wiki page editor, we have to submit the page or focus in page title then hit enter. As I am writing large pages, I have 2 displays when editing a page, first to edit the code, and the other to frequently refresh and view the result. It is so annoying to submit the page

[web2py] plugin_wiki - how to define the target to an external link?

2010-07-29 Thread Bruno Rocha
Any way to define the target=_blank for [[a link http://someurl.com]] any way like this: [[a link http://someurl.com _blank]] ??? -- http://rochacbruno.com.br

[web2py] plugin_wiki suggestions

2010-07-31 Thread Bruno Rocha
Sorry again, I am creating a new thread about plugin_wiki. I wonder if there is any public place where we can write suggestions, criticisms, and send questions exclusively about plugin_wiki, markmin and cube2py? -- http://rochacbruno.com.br

Re: [web2py] Re: plugin_wiki suggestions

2010-07-31 Thread Bruno Rocha
the page, as we pass parameters to custom widgets, I think this could not happens. but, it is usefull to still have page.load, page.xml, page.json, and page.rss functions. 2010/8/1 Bruno Rocha rochacbr...@gmail.com I am developing and writing a lot with plugin_wiki (cube2py). I already have some

Re: [web2py] Re: plugin_wiki suggestions

2010-07-31 Thread Bruno Rocha
But the .code thing, is usefull for editors, so there is a way to .code output be available only to logged in editor users? its usefull to check the code as in http://web2pybrasil.appspot.com/cursoweb2py/plugin_wiki/page.code/meta-code 2010/8/1 Bruno Rocha rochacbr...@gmail.com I Just found

Re: [web2py] Re: plugin_wiki suggestions

2010-08-01 Thread Bruno Rocha
Bruno Rocha rochacbr...@gmail.com But the .code thing, is usefull for editors, so there is a way to .code output be available only to logged in editor users? its usefull to check the code as in http://web2pybrasil.appspot.com/cursoweb2py/plugin_wiki/page.code/meta-code 2010/8/1 Bruno Rocha

Re: [web2py] Re: rewrite url using routes.py

2010-08-01 Thread Bruno Rocha
Does not works here, may I doing something wrong. $1 HelloWorld $2 default $3 index/args/ I do not want the url: http://127.0.0.1/HelloWorld/default/index I need http://127.0.0.1/index that points me to the place I need, but raises INVALID REQUEST I tried to remane my app to 'init' but does

Re: [web2py] Re: plugin_wiki suggestions

2010-08-01 Thread Bruno Rocha
Page Attachments does not works on GAE 2010/8/1 Bruno Rocha rochacbr...@gmail.com I am developing and writing a lot with plugin_wiki (cube2py). I already have some suggestions, observations and have also found some bugs. As I'm finding more issues, I will posting here in this thread

Re: [web2py] Re: plugin_wiki suggestions

2010-08-01 Thread Bruno Rocha
Bruno Rocha rochacbr...@gmail.com Page Attachments does not works on GAE 2010/8/1 Bruno Rocha rochacbr...@gmail.com I am developing and writing a lot with plugin_wiki (cube2py). I already have some suggestions, observations and have also found some bugs. As I'm finding more issues, I

[web2py] Exporting data from GAE BigTable

2010-08-01 Thread Bruno Rocha
Hello, I'm writing a lot of text using cube2py running on GoogleAppEngine. All content written in cube2py is stored in the database, and I need to do a backup. Is there a way to use DAL to export records in a given table? I know it may be possible to do this by creating action.json or action.xml,

Re: [web2py] Re: plugin_wiki suggestions

2010-08-02 Thread Bruno Rocha
/sql.py, line 1323, in __getitem__ return dict.__getitem__(self, str(key)) KeyError: 'contato' 2010/8/1 Bruno Rocha rochacbr...@gmail.com SlideShow widget also does not runs on GAE. try it; http://web2pybrasil.appspot.com/init/plugin_wiki/page/images the code: http

Re: [web2py] Re: A Call to Arms - Necessary and KILLER Apps for Web2py

2010-08-02 Thread Bruno Rocha
Martin, is it able to work on GAE ? 2010/8/2 Martin.Mulone mulone.mar...@gmail.com I am working in a cms *blog style* the idea is to be simple, ready to work, looking professional, and use ajax and effect in admin panel at least. You can see here: http://code.google.com/p/instant-press/ It is

Re: [web2py] Re: plugin_wiki suggestions

2010-08-02 Thread Bruno Rocha
()/b 2010/8/2 Bruno Rocha rochacbr...@gmail.com Error on select widget, trying to fetch non UTF-8 text records, People wrote a message in portuguese, a lot of accents, [ á, é, ã, ê, í] , to insert with createwidget no problem, then I can view the records on GAE admin. But when I

Re: [web2py] code organization

2010-08-02 Thread Bruno Rocha
Have you tried local_import()? I really dont know if that will work in your case, Give it a try http://web2py.com/book/default/chapter/04?search=local_import 2010/8/2 Miguel Lopes mig.e.lo...@gmail.com I have several functions returning forms in a module file, and started experimenting with

Re: [web2py] Re: Chapter 13: components and plugins

2010-08-02 Thread Bruno Rocha
I can do for plugin_wiki chapter, as I am working a lot with that. let me know about standard format for the image and min-max size/scale, I use default MacOs screenshot tool ( shift+command+4) Do you want only selection of the funcionality?, zooming ?, just body content or including browser

Re: [web2py] Re: A Call to Arms - Necessary and KILLER Apps for Web2py

2010-08-02 Thread Bruno Rocha
it on GAE, testing some workarround, then I report you. {{=thanks}} 2010/8/2 Martin.Mulone mulone.mar...@gmail.com I don know I think yes, but I dont test it. On Aug 2, 9:45 am, Bruno Rocha rochacbr...@gmail.com wrote: Martin, is it able to work on GAE ? 2010/8/2 Martin.Mulone

Re: [web2py] Re: rewrite url using routes.py

2010-08-02 Thread Bruno Rocha
I really tried every example given, but no one works on GAE I cant figure out how to change this: http://web2pybrasil.appspot.com/init/plugin_wiki/page/home to this: http://web2pybrasil.appspot.com/page/home 2010/8/1 mdipierro mdipie...@cs.depaul.edu ('/(.*?)/(.*?)',

Re: [web2py] Re: plugin_wiki suggestions

2010-08-02 Thread Bruno Rocha
and page.role and not auth.has_membership(page.role): raise HTTP(404) if request.extension=='load': return plugin_wiki.render(page.body) if request.extension!='html': return page.body return dict(page=page,slug=slug) 2010/8/1 Bruno Rocha rochacbr...@gmail.com I am developing

Re: [web2py] Re: plugin_wiki suggestions

2010-08-02 Thread Bruno Rocha
think it needs a limit, may be 20 entries per page like a FIFO 2010/8/1 Bruno Rocha rochacbr...@gmail.com I am developing and writing a lot with plugin_wiki (cube2py). I already have some suggestions, observations and have also found some bugs. As I'm finding more issues, I will posting here

Re: [web2py] Re: A Call to Arms - Necessary and KILLER Apps for Web2py

2010-08-02 Thread Bruno Rocha
I am using cube2py(plugin_wiki) as a CMS, for my site I am using markmin to write in, it is a quite difficult and needs some improvement, I like markin syntax and I will keep markmin to the site. besides, is it easy to turn plugin_wiki in to a Simple CMS ( able to run on GAE). In Model: change

Re: [web2py] Re: A Call to Arms - Necessary and KILLER Apps for Web2py

2010-08-02 Thread Bruno Rocha
() in get_lats_pots_with_search() Today I will try to run it on GAE, testing some workarround, then I report you. {{=thanks}} 2010/8/2 Martin.Mulone mulone.mar...@gmail.com I don know I think yes, but I dont test it. On Aug 2, 9:45 am, Bruno Rocha rochacbr...@gmail.com wrote

Re: [web2py] Re: markmin, t2, t3, cube9 etc. (important update)

2010-08-02 Thread Bruno Rocha
Texy features are very good http://texy.info/en/syntax but the syntax is ugly... I would like markmin to implement all that features in a beauty way. 2010/8/2 Tim Michelsen timmichel...@gmx-topmail.de No that I can think of. Would be good if you could use one of the major markup languages

Re: [web2py] Re: Chapter 13: components and plugins

2010-08-02 Thread Bruno Rocha
it as needed. Massimo On Aug 2, 9:53 am, Bruno Rocha rochacbr...@gmail.com wrote: I can do for plugin_wiki chapter, as I am working a lot with that. let me know about standard format for the image and min-max size/scale, I use default MacOs screenshot tool ( shift+command+4) Do you want only

Re: [web2py] Re: plugin_wiki suggestions

2010-08-03 Thread Bruno Rocha
though somebody sould have more than 1000 revisions. Let's think about a good solution. The one you propose may be ok. On Aug 2, 3:54 pm, Bruno Rocha rochacbr...@gmail.com wrote: - Page History page history does not works on GAE, http://web2pybrasil.appspot.com/init/plugin_wiki/page_history

Re: [web2py] Re: A Call to Arms - Necessary and KILLER Apps for Web2py

2010-08-03 Thread Bruno Rocha
'' On Aug 2, 4:59 pm, Bruno Rocha rochacbr...@gmail.com wrote: Thats the way I found to perform LIKE() search in GAE, it is ugly (I know) but works.. I am waiting for any feature to replace this. @staticmethod def searchPages(string=None,nfmessage='Nothing found with %s

Re: [web2py] Re: A Call to Arms - Necessary and KILLER Apps for Web2py

2010-08-03 Thread Bruno Rocha
(A(page.title,_href=URL(request.application,'plugin_wiki','page',arg s=page.slug))) for page in pages]) else: return '' On Aug 2, 4:59 pm, Bruno Rocha rochacbr...@gmail.com wrote: Thats the way I found to perform LIKE() search in GAE, it is ugly (I know) but works

Re: [web2py] Re: A Call to Arms - Necessary and KILLER Apps for Web2py

2010-08-03 Thread Bruno Rocha
('meta')) if pages: return UL(*[LI(A(page.title,_href=URL(request.application,'plugin_wiki','page',arg s=page.slug))) for page in pages]) else: return '' On Aug 2, 4:59 pm, Bruno Rocha rochacbr...@gmail.com wrote: Thats the way I found

[web2py] Is it possible to close the source of an app made with plugin_wiki?

2010-08-03 Thread Bruno Rocha
I saw this post - So ... you want to make and sell a closed source windows exe web2py app? Http://bit.ly/aNWRgi And I was thinking, if it is possible to package an application developed with plugin_wiki and distribute closed source? I am not sure how this works internally, but since the

Re: [web2py] Re: plugin_wiki suggestions

2010-08-03 Thread Bruno Rocha
asap since I am about to make some changes and write a book chapter about it tomorrow. On 1 Ago, 04:55, Bruno Rocha rochacbr...@gmail.com wrote: Sorry again, I am creating a new thread about plugin_wiki. I wonder if there is any public place where we can write suggestions, criticisms

Re: [web2py] Re: cube2py news

2010-08-04 Thread Bruno Rocha
I found a trick to do that as #anchor marked with [[anything]] is rendered as pspan id='anything'/span/p ( which I am not sure if it is a good html pratice ) BTW, I solved my problem on white spaces with CSS [[br]] = span id=br I want br / [[brbr]] = span id=brbr I want br /br / plus [[hr]] =

Re: [web2py] Re: plugin_wiki suggestions

2010-08-04 Thread Bruno Rocha
Sorry, I am so stupid... I forgotten about anchors Thanks again 2010/8/4 mdipierro mdipie...@cs.depaul.edu Yes you can: [[my reference #id1]] [[id1]] referenced material On Aug 3, 11:56 pm, Bruno Rocha rochacbr...@gmail.com wrote: Useful suggestion: markmin currently does not allow

Re: [web2py] web2py 1.82.1 is OUT check it out

2010-08-04 Thread Bruno Rocha
It is going down to zero ?? was 1.84.1, than 1.85. and now it is 1.82??? 2010/8/4 mdipierro mdipie...@cs.depaul.edu Changelog #1.82.1 - new template system supports {{block}}, thanks Thadeus - new db.table(id,[field=value]) and db.table(query) syntax to get first matching record -

Re: [web2py] web2py 1.82.1 is OUT check it out

2010-08-04 Thread Bruno Rocha
I got confused because of this thread.. http://groups.google.com/group/web2py/browse_thread/thread/a1e2b8443ada7198/5e20279c2ba66d88?lnk=gstq= *1.84*#5e20279c2ba66d88 Sorry... 2010/8/4 Bruno Rocha rochacbr...@gmail.com It is going down to zero ?? was 1.84.1, than 1.85. and now it is 1.82

Re: [web2py] Re: web2py 1.82.1 is OUT check it out

2010-08-04 Thread Bruno Rocha
a look into appadmin source now. Sry... 2010/8/4 mdipierro mdipie...@cs.depaul.edu You had me panic for a second. LOL On Aug 4, 7:11 pm, Bruno Rocha rochacbr...@gmail.com wrote: I got confused because of this thread.. http://groups.google.com/group/web2py/browse_thread/thread/a1e2b8443a

Re: [web2py] Re: web2py 1.82.1 is OUT check it out

2010-08-04 Thread Bruno Rocha
Found it: http://web2py.com/examples/default/version Tks 2010/8/4 Bruno Rocha rochacbr...@gmail.com LOL Really sorry when I read the thread mentioned above got the number on the head, I even mentioned as being the current version on my site. (just corrected) web2py use a crawler to pull

Re: [web2py] Re: plugin_wiki with 1.82.1 meta page error

2010-08-05 Thread Bruno Rocha
Take a look in your layout.html when you create meta- pages, is expected to yout layout.html to render that code.. HEADER body div id=wrap div id=container {{=auth.navbar('Welcome',URL(r=request,c='default',f='user'))}} div id=header {{=*plugin_wiki.embed_page('meta-header')* or

Re: [web2py] Re: plugin_wiki with 1.82.1 meta page error

2010-08-05 Thread Bruno Rocha
Massimo, I posted a new issue: http://code.google.com/p/cube2py/issues/detail?id=4 Do you prefer to keep the bug tracking in Google Code? or here in the list? 2010/8/5 mdipierro mdipie...@cs.depaul.edu I posted it now at http://web2py.com/examples/static/web2py.plugin.wiki.w2p please check

Re: [web2py] Re: web2py and SEO

2010-08-06 Thread Bruno Rocha
SEO is basically done through: page title (response.meta.title) page keywords ( response.meta.keywords) page description ( response.meta.description) plus: the robots.txt file under website root directory, good practices for creating links and inserting images, Semantic html markup ( I mean

Re: [web2py] Re: web2py and SEO

2010-08-06 Thread Bruno Rocha
-smartphone but it is a database design matter, I dont know how web2py could help with that. video about SEO: http://www.mahalo.com/how-to-seo-your-website 2010/8/6 Bruno Rocha rochacbr...@gmail.com SEO is basically done through: page title (response.meta.title) page keywords

Re: [web2py] Re: web2py and SEO

2010-08-06 Thread Bruno Rocha
List of Best and Worst practices: http://www.webconfs.com/15-minute-seo.php 2010/8/6 Bruno Rocha rochacbr...@gmail.com I believe that a simple helper, to be called in any view or controller is enought, imagine: view: {{extend 'layout.html'}} {{SEO(title='My Product view

Re: [web2py] Re: web2py and SEO

2010-08-06 Thread Bruno Rocha
2010/8/6 mdipierro mdipie...@cs.depaul.edu You should this in a model, before the view is executed: response.title='My Product view' response.meta.keywords='phones,calls,smartphone' response.meta.description='This is a phone seller site made with web2py' response.meta.author='me' The

Re: [web2py] Re: Some MARKMIN questions

2010-08-06 Thread Bruno Rocha
In Markmin double spaces between lines or paragraphs breaks the line, but only one break is allowed, sometimes we need more space. I think it's extremely necessary to use br sometimes. Markdown and wikimedia does. I'm writing a lot and need to convert to PDF, the way I'm doing the css code is

Re: [web2py] Re: Some MARKMIN questions

2010-08-06 Thread Bruno Rocha
Cool! tks replacing right now 2010/8/6 mdipierro mdipie...@cs.depaul.edu you can extend MARKMIN by passing extra MARMIN(text, extra={'space':lambda code: 'br style=height:%s/' % code and in text ``50px``:space On Aug 6, 9:28 am, Bruno Rocha rochacbr...@gmail.com wrote: In Markmin

Re: [web2py] Sessions

2010-08-06 Thread Bruno Rocha
The problem that Session variables have to overcome is that the HTTP protocol that you use to browse the web is stateless. Each request for a page is completely independant of earlier requests, so if you want to remember the variables you have to store that information somewhere. This remembering

Re: [web2py] Sessions

2010-08-06 Thread Bruno Rocha
If I understand, he wants to save session values, even the user closes the browser and returns after. if you set e.g one week to the cookie time limit, this will keep the reference to the session ID, but I dont think this will automaticaly keep the session values. ( what if the server restarts?)

Re: [web2py] Book in Italian, Spanish, Portuguese, Chinese and Russian (sort of)

2010-08-08 Thread Bruno Rocha
Portuguese version is really funny :o| , absolutelly wrong, as portuguese is a strange, non semantic and complex language. Look how the Python Chapter were translated back into english.. - Python is a general purpose, and about programming of very high level languages. By the way, this is very

[web2py] lightning speech - Web2py - A framework for human beings

2010-08-09 Thread Bruno Rocha
On August 22 will present the lightning speech (only 5 minutes) at TDC2010 ( The Developers Conference ) in São Paulo - Brazil TDC is a big event in São Paulo, with trails of speeches on various subjects related to software development. on sunday, Python will be the subject of a full day of

Re: [web2py] Re: lightning speech - Web2py - A framework for human beings

2010-08-10 Thread Bruno Rocha
of installation, DB admin interface, a quick app - I demo'd wrapping some system commands in a web interface using web2py - Don't knock other frameworks Best of luck Regards Anand On Aug 10, 8:46 am, Bruno Rocha rochacbr...@gmail.com wrote: On August 22 will present the lightning speech (only 5

Re: [web2py] Problems with GAE auth :(

2010-08-10 Thread Bruno Rocha
You cannot import appengine.api if you're out of GAE environment.. 2010/8/10 Fale floc...@grimp.eu Hi, I'm a new web2py user :) I'm trying to use google's auth for my app, but it does not work on web2py, while it works perfectly on appspot.com and on the offline gae engine :| My code:

Re: [web2py] Problems with GAE auth :(

2010-08-10 Thread Bruno Rocha
(email_auth(smtp.gmail.com:587, @gmail.com)) 2010/8/10 Bruno Rocha rochacbr...@gmail.com You cannot import appengine.api if you're out of GAE environment.. 2010/8/10 Fale floc...@grimp.eu Hi, I'm a new web2py user :) I'm trying to use

Re: [web2py] using URL() inside a component view

2010-08-10 Thread Bruno Rocha
I Solved using this way: URL(request.application,'default','view_detail',args=[rec.contact.id]) .load is not appended to the link. 2010/8/10 Miguel Lopes mig.e.lo...@gmail.com I'm pretty sure this as been asked, but I can't find it anywhere. I would like to use the URL function to construct

Re: [web2py] Problems with GAE auth :(

2010-08-10 Thread Bruno Rocha
PLUS: If you need an example on how to auth with gmail account, look at pyforum source code: http://pyforum.org/ 2010/8/10 Fale floc...@grimp.eu Hi, I'm a new web2py user :) I'm trying to use google's auth for my app, but it does not work on web2py, while it works perfectly on appspot.com

Re: [web2py] using URL() inside a component view

2010-08-10 Thread Bruno Rocha
extension=False is new to me, Thats not covered by the Book I found and reported that before : http://groups.google.com/group/web2py/browse_thread/thread/99c2f5b8db562fba/8b82a682dff3fc58?lnk=gstq=URL+changed#8b82a682dff3fc58 Tks Jonathan 2010/8/10 Jonathan Lundell jlund...@pobox.com On Aug

Re: [web2py] using URL() inside a component view

2010-08-10 Thread Bruno Rocha
...@pobox.com On Aug 10, 2010, at 7:11 PM, Bruno Rocha wrote: extension=False is new to me, Thats not covered by the Book I found and reported that before : http://groups.google.com/group/web2py/browse_thread/thread/99c2f5b8db562fba/8b82a682dff3fc58?lnk=gstq=URL+changed#8b82a682dff3fc58 It's a side

Re: [web2py] reminder about last book edit

2010-08-10 Thread Bruno Rocha
I dont know if timeline has ended but... URL helper has an extension parameter, as we can see here: http://www.google.com/codesearch/p?hl=en#uyCl3L51_dI/gluon/html.pyq=URL package:http://web2py\.googlecode\.comsa=Ncd=1ct=rcl=119 But not here:

Re: [web2py] using URL() inside a component view

2010-08-10 Thread Bruno Rocha
, please ignore my last reply about that. 2010/8/10 Jonathan Lundell jlund...@pobox.com On Aug 10, 2010, at 7:37 PM, Bruno Rocha wrote: Thank you agains 4 the explanation, now, this should be documented anywhere, as this is not on the book ( http://web2py.com/book/default/search?search

Re: [web2py] Re: doc2py - php.net like python module documentation

2010-08-11 Thread Bruno Rocha
Is there any way to copy a *permalink* to a function? e.g : http://semanticsbml.org/doc2py/default/index/gluon/contrib/login_methods/email_auth 2010/8/11 selecta gr...@delarue-berlin.de new feature: parsing of docstrings strings as examples (searches for any occurrence of ) Yes, make

[web2py] When creating an application in console mode, the databases folder should be created?

2010-08-12 Thread Bruno Rocha
Hi, I were playing with Shell mode, to explain some DAL features in a class, I did: code ~/web2py$ python web2py.py -S test -P .. application teste does not exist, create (y/n)?y /code OK, web2py creates an app named test So I tried: code from gluon import * base =

Re: [web2py] Re: When creating an application in console mode, the databases folder should be created?

2010-08-12 Thread Bruno Rocha
My version is 1.83.1 (stable) on Ubuntu 10.04, yours? 2010/8/13 mr.freeze nat...@freezable.com 'python web2py.py -S test -P' works for me and creates a databases folder. Perhaps it's a permissions issue with ~/web2py? On Aug 12, 8:38 pm, Bruno Rocha rochacbr...@gmail.com wrote: Hi, I

Re: [web2py] Instant Press

2010-08-13 Thread Bruno Rocha
Deploying on GAE this will run under BigTable db,so I need to register a new user, how I'll define that the new user is an administrator? is there any way to specify a master user? or ad...@mail.com is not on db? 2010/8/13 Martin.Mulone mulone.mar...@gmail.com Whats new in Instant Press (now

Re: [web2py] Instant Press

2010-08-13 Thread Bruno Rocha
Got Error on GAE (rochacbruno.appspot.com), there is any forum, group or bug tacking about Instant Press? 1. 1. 08-13 11:15AM 21.583 / 500 6708ms 9277cpu_ms 6691api_cpu_ms 0kb Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; pt-BR; rv:1.9.2.8) Gecko/20100722

Re: [web2py] Re: WikiYou - Showcase

2010-08-13 Thread Bruno Rocha
Thats opensource? 2010/8/13 Lasiaf fai...@altlimit.com maybe when you tried it, the version I uploaded was the one with invalid routes(maybe development mode). I can't think of any reason why would it fail. Also can you answer my first and 3rd questions? Thanks On Aug 13, 12:55 am,

Re: [web2py] Re: Instant Press

2010-08-13 Thread Bruno Rocha
I am using web2py 1.83.1 and InstantPressAlpha3.w2p, deployed with AppEngineLaucher4Mac, and raises error (rochacbruno.appspot.com). I have to change something before deploying to GAE? 2010/8/13 Martin.Mulone mulone.mar...@gmail.com On Aug 13, 3:21 pm, Bruno Rocha rochacbr...@gmail.com wrote

  1   2   3   4   5   6   7   8   9   10   >