View Single Post
Old 03-24-2010, 01:27 PM   #1642
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by Dereks View Post
Sorry,
since I don't know python or any programming language it's all a bit difficult to me. Can you provide some very simple example of this?
Thanks.
You need a very basic understanding of Python to do this. All he's saying is that you put a line into print_version that says something like:
Code:
if (url includes some first string or startswith or endswith some string):
    #this url is from feed 1
    url = (code to modify the ur from feed 1)
if (url includes some other string or startswith or endswith some other string):
    #this url is from feed 2
    url = (different code to modify the url from feed 2)
etc.
Starson17 is offline