never thought of opening the same page, yeah it don't work with me too. Gives me this error InvalidURLError: App cannot fetch the same URL as the one used for the request. I probably should check for that too. Also the web2py I'm using stores the tickets to datastore, I wanted to turn that off but dunno how cause it already stores in logs whatever is stored in that ticket.
On Aug 6, 9:25 pm, Iceberg <iceb...@21cn.com> wrote: > It fails too, saying a ticket is generated, when I point it > tohttp://feedcreator.appspot.com/ :) In case it "works for you", you > can take a look in the tickets (I am not sure tickets are saved on GAE > though). > > Nice idea indeed. > > As to TAG, I agree with you that TAG does not support malformed html > very well so far. Once I tried to use it on some unbalanced html (say, > an extra </div> without <div>) and it just don't work. So eventually I > had to use regular expression instead. > > -- > Iceberg > > On Aug 7, 9:49 am, Lasiaf <fai...@altlimit.com> wrote: > > > > > I just tried it, and saved the feed, worked for me. > > > I just checked the logs, if you don't put http:// gives me a no file > > found error > > Maybe I should check for that to give a proper error message or just > > automatically prepend it. > > > On Aug 6, 7:33 pm, Thadeus Burgess <thade...@thadeusb.com> wrote: > > > > It fails when I point it to my website. thadeusb.com. > > > > Cool concept though. > > > > -- > > > Thadeus > > > > On Fri, Aug 6, 2010 at 8:26 PM, Lasiaf <fai...@altlimit.com> wrote: > > > > I used urllib to get html stuff, then used gluon.html TAG for the > > > > filtering jQuery style. > > > > Here are some of problems I encountered while using the TAG from > > > > though: > > > > 1. I needed to reencode the string to utf-8 cause it was throwing > > > > errors if its not proper utf8 - maybe this should be automated? > > > > 2. I also throw an error when there is something like '<scri'+'pt>' > > > > which is found on google analytics, so I just stripped out all script > > > > tags. > > > > 3. There are malformed html, without closing tags or something - this > > > > one was difficult, I didn't think if it is internally supported to get > > > > fixed so I had to google and find out if there are built stuff to fix > > > > it and I found BeautifulSoup.prettify() which will fix it - maybe this > > > > should also be built in TAG() cause TAG is so awesome, I can do > > > > everything in DOM very easily. > > > > > On Aug 6, 3:28 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > >> +1 > > > > >> How does it work? > > > > >> On Aug 6, 2:46 pm, Lasiaf <fai...@altlimit.com> wrote: > > > > >> > Hi All, > > > > >> > This is my first web2py application.http://feedcreator.appspot.com > > > > >> > What it does is create rss feeds for sites that don't have rss feeds. > > > > >> > I did this for a whole day, web2py is so easy to learn I did this > > > >> > without knowing much about web2py and python. > > > >> > Since I finished this project, I decided to do all my own projects > > > >> > using web2py. > > > > >> > - Lasiaf