Allow modification requests for some fields on multiple item pages at once

6 berichten • 97 keer bekeken

Dit bericht gaat over: doe een suggestie om Numista te verbeteren

Status Geopend
Stemmen voor: 4
Stemmen tegen: 0

I recently unified pages of related exonumia pieces. For example:

 

  • Most of these 24 medals have same obverse description, reverse description, reverse lettering, edge,  comments, tags and links
  • These 23 medals (these and these) have same reverse, edge,  comments, tags and links
  • These 2 tokens have same type, composition, obverse/reverse description, edge and tags


If I want write the same text in the same field in 20 items, now I need to submit 20 modification requests (with copy and paste 20 times, and perhaps I have a typo, or I forget to paste the text in one request).

 

It can be complex to do, but it will be useful to have a special page with the fields of a coin/banknote/exonumia page, and a textarea where add links of item pages where to apply the modification.


For example, I could submit this modification request (only 1!) for the 23 medals mentioned above:

 

 

Once submitted, this can be converted to 46 modification requests (23 regular + 23 lines).

Edit: I update this request with the new improvements in Numista.

Wanted & swap list (euro coins & world coins, exonumia and banknotes circulated) https://goo.gl/AQjfKp - I have euro & world CC coins for swap.

Hi

 

I am a bit low on time, but it probably could be done. In theory you should be able to download data from web page from any specific field.

 

For instance published web page is:

https://en.numista.com/catalogue/exonumia145262.html

and page for updating is:

https://en.numista.com/catalogue/contributions/modifier.php?id=145262

Defining the variable between “exonumia” and “.html” is no brainer. 

 

So you should be able to add web page URL to certain cell after which VBA downloads defined data to eg. Excel table. Specific fixed cells hold specific data from downloaded page. You have a parallel web page setup, to where you copy data, update it and then write changes back to URL.

 

So if you want to add data to certain field on web site, you can have many options on how to do it. Selecting the field for update (one at a time) or updating more fields at a time or all at once or something else (the miracles are most likely stated in this part of the code). The problem could be lists, I presume these could also be somehow downloaded and stored as a list variables and updated to parallel web page setup.

 

You could also have a list of sites on which you want to update the data, so with a nice VBA loop, you could change data on multiple websites at a time.

 

Such tools may be accompanied with troubles, when handed out to wrong hands. But in case you are a control freak and are pushing for good contribution statistics, as the Mandalorian saying goes, “this is the way”. 😎

 

LP

 

PS: just my brains doing some loud thinking

mikimaus

I am a bit low on time, but it probably could be done. In theory you should be able to download data from web page from any specific field.

I do not want programming this outside the Numista workflow. I would like a useful feature for any user who wants collaborate in Numista.

Wanted & swap list (euro coins & world coins, exonumia and banknotes circulated) https://goo.gl/AQjfKp - I have euro & world CC coins for swap.

 Maybe the Robot can so it? 

Token collector [1600-1899] with some coins

ZacUK

 Maybe the Robot can so it? 

Yes, but we, the users, should write the inputs or conditions. Maybe a page where the users enter the inputs and conditions, referees or admins validate these requests, and then the Robot execute them.

 

NOTE: I remember a similar request made for referees but I do not find.

Wanted & swap list (euro coins & world coins, exonumia and banknotes circulated) https://goo.gl/AQjfKp - I have euro & world CC coins for swap.

davidhsMaybe a page where the users enter the inputs and conditions, referees or admins validate these requests, and then the Robot execute them.

Maybe a page with these fields:

 

Conditions:

[Name of field C1] [Operator 1] [Value C1]
and [Name of field C2] [Operator 2] [Value C2]
and [Name of field C3] [Operator 3] [Value C3]
and [Name of field C4] [Operator 4] [Value C4]
Add more

New values:

Set [Name of field N1] to [Value N1]
Set [Name of field N2] to [Value N2]
Set [Name of field N3] to [Value N3]
Set [Name of field N4] to [Value N4]
Add more

 

Where:

  • [Name of field] are select boxes where select the fields to search or change.
  • [Operator] are select boxes with operators to use (for example: is equal to, contains)
  • [Value] are input boxes (select with options, or input text) with values to search or set in fields.

 

For example: I wrote this request https://en.numista.com/forum/topic78271.html#p1058367 more than one year ago (not was done). The request can be convert in these requests to Numista Robot:

 

Request 1:
Conditions:

[Composition] [is equal to] [Single material]
and [Additional details] [contains] [Alpaca]

New values:

Set [Material] to [Nickel silver]

 

Request 2:
Conditions:

[Composition] [is equal to] [Single material]
and [Additional details] [is equal to] [Alpaca]

New values:

Set [Material] to [Nickel silver]

Set [Additional details] to [EMPTY]

 

Not all users will know how to use this page, but others will.

Wanted & swap list (euro coins & world coins, exonumia and banknotes circulated) https://goo.gl/AQjfKp - I have euro & world CC coins for swap.

» Forumbeleid

Gebruikte tijdzone is UCT+2:00.
Huidige tijd is 22:01.