User Profile
Collapse
-
Yet again, thank you. I can only keep thanking you! -
Thanks once again, you've really helped me. Now 1 final question.
Everything works apart from the FTP. This is the error:
...Code:Do you want to upload your XML file to your website via FTP? Y/N: Y Server name: test Enter your login: test Enter your password: Traceback (most recent call last): File "rssgps.py", line 76, in <module> finish() File "rssgps.py",Leave a comment:
-
...Code:#!/usr/bin/env python import ftplib import getpass name=raw_input("Name of Feed: ") desc=raw_input("Description of Feed: ") url=raw_input("Location of Website: ") print "Your main feeds settings have been updated" print "Now information about adding an article to the feed.Other articles can be added manually later" aname=raw_input("NameLeave a comment:
-
Thanks! I'll make them global now, and then I'll post the other errors later. That's one bit solved....Leave a comment:
-
Here are the errors I get so far:
No 1:
...Code:Name of Feed: test Description of Feed: test Location of Website: test Would you like to add an article to the feed? Y/N: N Traceback (most recent call last): File "rssgps.py", line 93, in <module> mainfeed() File "rssgps.py", line 9, in mainfeed again() File "rssgps.py", line 16, in againLeave a comment:
-
Unknown errors, RSS feed
From my other post I am making a simple program that creates an RSS feed with Python. Now when I run my program so far, I get errors. It says "something is not defined". The word something is replaced by the name of the function I'm trying to use. my article function when ran, comes up with "article is not defined" etc.
Here's my code: What is wrong with it?
...Code:#!/usr/bin/env python import ftplib
-
-
One more question, is there a command that can delete the contents of a chosen fileLeave a comment:
-
-
I'm quite stuck on actually how to get all the settings inside the XML tags and then make it a variable it so I can export it. How can I do it?...Leave a comment:
-
RSS Feed Generator help
I'm trying to make a basic RSS feed generator. I'm still a newb and I really need help. My aim is to have the user input all their desired settings then create an XML file in the same directory with all of their RSS settings.
First I'd like it to ask the user how many articles it wants to put in the RSS feed. So it can loop the adding articles bit that many times. Then after the user inputting all their desired options, for it to display,...
No activity results to display
Show More
Leave a comment: