User Profile

Collapse

Profile Sidebar

Collapse
bhass
bhass
Last Activity: Dec 25 '08, 08:31 AM
Joined: Dec 23 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • bhass
    replied to Unknown errors, RSS feed
    Yet again, thank you. I can only keep thanking you!
    See more | Go to post

    Leave a comment:


  • bhass
    replied to Unknown errors, RSS feed
    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",
    ...
    See more | Go to post

    Leave a comment:


  • bhass
    replied to Unknown errors, RSS feed
    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("Name
    ...
    See more | Go to post

    Leave a comment:


  • bhass
    replied to Unknown errors, RSS feed
    Thanks! I'll make them global now, and then I'll post the other errors later. That's one bit solved....
    See more | Go to post

    Leave a comment:


  • bhass
    replied to Unknown errors, RSS feed
    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 again
    ...
    See more | Go to post

    Leave a comment:


  • bhass
    started a topic Unknown errors, RSS feed

    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
    ...
    See more | Go to post

  • bhass
    replied to RSS Feed Generator help
    Thanks! This has really helped me :)
    See more | Go to post

    Leave a comment:


  • bhass
    replied to RSS Feed Generator help
    One more question, is there a command that can delete the contents of a chosen file
    See more | Go to post

    Leave a comment:


  • bhass
    replied to RSS Feed Generator help
    Thanks loads! :)
    I shall do...
    See more | Go to post

    Leave a comment:


  • bhass
    replied to RSS Feed Generator help
    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?...
    See more | Go to post

    Leave a comment:


  • bhass
    started a topic RSS Feed Generator help

    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,...
    See more | Go to post
No activity results to display
Show More
Working...