UKC

wishlist to ticklist ?

New Topic
This topic has been archived, and won't accept reply postings.
 simondgee 05 Jul 2019

How (if its possible) would i go about converting a wishlist to a ticklist? 
Cheers

S

 Emilio Bachini 27 Jul 2019
In reply to simondgee:

Slowly and manually (as far as I’m aware) at the moment. Might be worth getting on a computer if your aren’t already and opening a couple of windows.

Emilio. 

 Suncream 27 Jul 2019
In reply to simondgee:

Perhaps someone else can create a self-contained script to do this. Shouldn't be too hard.

From the wishlist page (or a logbook page or whatever), find all the elements with the class "climb". The link text gives the climb name and the link address gives the climb id.

Then on the edit ticklist page, you need to repeatedly execute the JavaScript function addClimb(id,name) for each of them.

 davidsouthgate 28 Jul 2019
In reply to simondgee:

I had some free time so I wrote a script to do this.

  1. Install the Tampermonkey extension for your web browser
  2. Add the script to tampermonkey by visiting thr following page and clicking "Install": https://davidsouthgate.co.uk/userscripts/ukc-userscript-to-ticklist.user.js
  3. Goto the "Edit Ticklist" page for the ticklist you want to modify and click the new "Import Wishlist" button.
  4. The ticklist should now be imported!
Post edited at 16:55
OP simondgee 28 Jul 2019
In reply to davidsouthgate:

> I had some free time so I wrote a script to do this.

Wow David ...Thats fab  and beer worthy ...thanks!


New Topic
This topic has been archived, and won't accept reply postings.
Loading Notifications...