Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Is it possible?

Comments

  • Registered Users, Registered Users 2 Posts: 68,173 ✭✭✭✭seamus


    The theory is easy enough. A script could easily parse the urls, take out the username, open the url, and add the relevant data to the textbox.

    There are only two problems/unknowns I can think of:
    1. You need to login to edit pages. May not be too difficult if you know a bit about http headers.
    2. How to submit the data to the webserver.

    I'm thinking in terms of PHP, as it could easily be hacked together quickly to do this. But Perl may do an even better job, and I don't really know Perl.


  • Registered Users, Registered Users 2 Posts: 1,865 ✭✭✭Syth


    There is a very handy Perl module called WWW::Mechanize. It's designed to make it easy to machanicially interact with web forms. It's on CPAN.


  • Registered Users, Registered Users 2 Posts: 1,421 ✭✭✭Steveire


    As an idiot, I have no knowledge of what PHP or PERL are or how to use them. It seems that this Mechanize thing is the right way to go. I did a search. There's some examples here
    do i need to download anything to use this stuff? (Read: Anything that doesn't come with XP) Or should i go into college to do it? I can use cygwin in there, although i'd still be a bit lost to actually use this stuff. I reckon i'd be able to do the code though.


  • Registered Users, Registered Users 2 Posts: 6,762 ✭✭✭WizZard


    You'll need ActivePerl for windows to run Perl scripts. It comes with decent docs that should have you up and running in no time.


Advertisement