Automate including access to a wiki

Once I have my relabelled documents I require to add them to my task wiki web page. This is a rather recurring hand-operated job, so I presume I can manuscript it yet I do not recognize where to start.

The procedure is :

Got to appropriate page on the wiki

for each team member (DeveloperA, DeveloperB, DeveloperC)
{
    for each of two files ('*_current.jpg', '*_lastweek.jpg')
    {
        Select 'Attach' link on page
        Select the 'manage' link next to the file to be updated
        Click 'Browse' button
        Browse to the relevant file (which has the same name as the previous version)
        Click 'Upload file' button
    }
}

Not always seeking the complete remedy as I would certainly such as to try myself.

Where to begin? What language could I make use of to do this and also just how hard would certainly it be?

0
2019-12-02 02:57:03
Source Share
Answers: 3

If you are creating in C#, the WebClient courses could be an excellent area to start. I wager individuals can offer extra details suggestions if you stated which wiki system you are making use of, and also whether it calls for verification, however.

I 'd possibly start by downloading and install fiddler and also seeing the http demands from doing it by hand. After that you can make use of some straightforward manuscripts and also regexes to construct your http ask for automating the procedure.

Certainly, if your extremely fortunate, your wiki would certainly have a backend straightforward adequate that you can simply connect them right into its db straight.

0
2019-12-03 04:35:09
Source

You could locate CoScripter valuable - - it is a Firefox expansion that permits you to automate jobs you execute on internet sites. I'm not particular just how you would certainly incorporate this with the checklist of documents you are transforming on your neighborhood system, yet it can absolutely take care of the documents posting via an internet kind.

Much better wager is possibly making use of cURL or a comparable HTTP collection with your shows language of selection. If you get on *nix, you can make use of the cURL commandline program inside your covering manuscript to get this done rather conveniently. (Like @jsight claimed you will certainly require to assess the real kinds you are making use of on the page, making use of Fiddler or simply considering the kind components and also re - developing the POST via swirl.)

0
2019-12-03 04:34:34
Source

Check if the wiki you suggest to talk with sustains XMLRPC, due to the fact that if it does it needs to be a breeze. I created a device called WikiUp to address a comparable trouble (upgrading a marked area on a wiki web page).

0
2019-12-03 04:30:58
Source