Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #29744
| Date | 2012-09-22 14:01 +0200 |
|---|---|
| From | Thomas Jollans <t@jollybox.de> |
| Subject | Re: How to apply the user's HTML environment in a Python programme? |
| References | <4382e132-4eb5-4733-9fed-535e704f2175@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1076.1348315298.27098.python-list@python.org> (permalink) |
On 09/21/2012 02:57 PM, BobAalsma wrote: > I'd like to write a programme that will be offered as a web service (Django), in which the user will point to a specific URL and the programme will be used to read the text of that URL. > > This text can be behind a username/password, but for several reasons, I don't want to know those. > > So I would like to set up a situation where the user logs in (if/when appropriate), points out the URL to my programme and my programme would then be able to read that particular text. > > I'm aware this may sound fishy. It should not be: I want the user to be fully aware and in control of this process. > > Any thoughts on how to approach this? What services are you planning to interface with? Many services (twitter being a notable pioneer) have systems for external (web) applications to log in without being given a user's username & password. I think it's possible to load a page in an iframe and access it using JavaScript/DOM from the parent page. This is probably what you'll want to do. You say you don't know the first thing about JavaScript. Well, my friend, if you're developing for the web, learn JavaScript, or, depending on your situation, hire a front end developer who knows JavaScript. You can only do so much on the web without using JavaScript. I recently discovered this guide to learning JS; it sounds reasonable: http://javascriptissexy.com/how-to-learn-javascript-properly/ http://pyjs.org/ may be worth a look too. -- Thomas PS: Most of your messages appear to be both To: and Cc: this list. Please stop sending each message twice, it's rather distracting.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-21 05:57 -0700
Re: How to apply the user's HTML environment in a Python programme? Joel Goldstick <joel.goldstick@gmail.com> - 2012-09-21 09:22 -0400
Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-21 06:31 -0700
Re: How to apply the user's HTML environment in a Python programme? Jerry Hill <malaclypse2@gmail.com> - 2012-09-21 09:36 -0400
Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-21 06:58 -0700
Re: How to apply the user's HTML environment in a Python programme? Joel Goldstick <joel.goldstick@gmail.com> - 2012-09-21 10:15 -0400
Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-10-01 07:19 -0700
Re: How to apply the user's HTML environment in a Python programme? Ramchandra Apte <maniandram01@gmail.com> - 2012-10-02 09:17 -0700
Re: How to apply the user's HTML environment in a Python programme? Peter Otten <__peter__@web.de> - 2012-09-21 16:33 +0200
Re: How to apply the user's HTML environment in a Python programme? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-21 16:09 -0400
Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-22 04:38 -0700
Re: How to apply the user's HTML environment in a Python programme? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-22 11:18 -0400
Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-22 04:38 -0700
Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-21 06:31 -0700
Re: How to apply the user's HTML environment in a Python programme? David Smith <davids@invtools.com> - 2012-09-21 11:28 -0400
Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-22 04:34 -0700
Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-22 04:34 -0700
Re: How to apply the user's HTML environment in a Python programme? Thomas Jollans <t@jollybox.de> - 2012-09-22 14:01 +0200
csiph-web