-
-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
db update urls whilst retaining tags #353
Comments
With I'll test again on a smaller set. |
This is the orignal test scheme:
And following $buku -d tacit,
|
I think you referred to example 12. It's a mistake on our part. The latest version updates all the fields. The behaviour was updated here: https://github.com/jarun/Buku/wiki/Operational-notes#update But not on example 12. I will update that. Note that we have a line item to disable update of individual fields. |
Description fixed at commit 5df231947392475ced257a6ba5e4cec3c3fbb5a9. |
Thanks. |
Also, can you give an example of how I can query a user-defined tag and update that set, wihtout losing the tag?
|
tags are appended, older tags are not lost |
yes true, but as you can see from the results given above, with a large collection especially, the recorded tags are chaotic and --stag returns chaotic results; Tags appended from titles do not necessarily give meaning to the user. In the example above I get 'windows' software' , 'free sofware' etc, for what is in fact a simple electronics power board. Tghe tags multiply insanely, and I cannot see to select my user-defined titles. The imposed tags are an obfuscation. |
Can you give an example of how I can query a user-defined tag and update that set, without losing the tag? |
I tried: |
not from title, they are from the page data. I mentioned that we have a line item to give more granular control. Please wait for that to come in or raise a PR if you need it right away. |
OK. Thanks. |
Checking out the line items, I found it as: Add option --preserve to ignore specific fields during auto-update [see API update_rec() and issue #327]. I can give you a further idea of how, without it a user runs into significant trouble: |
OK. Thanks for explaining. |
Too many tags get added from parsed page without user control. In general, users are not interested in these tags which they are not aware of.
I have added a patch to master to disable updating tags from the page. Even the tags of my bookmarks have gone for a toss. Please test and confirm. Thanks for the report! |
Thanks for kind consideration Jarun. I ran the latest from git today with success regarding keeping user-defined tags when updating selected url as follows The command above updates the title but leaves the user-defined tags in place without any additions from the hosted web page. The behaviour is particularly useful. You say the 'tags of my bookmarks have gone for a toss'; i guess you mean you have gone for this behaviour at the expense of any method to fetch tags from remote page in any way (at this time). That's a sacrifice, know, but possibly the best way forward; a method could now be devised to run with specific option to add to tags form remote page, rather than by default. Further Observation:Am I right in beleiving that titles cannot be made immune from updating, without re-entering a user-defind title? If so, that's not so bad, all in all, as opposed to the case with tags. Example: THanks, |
Yes, the titles would be updated. However, you can mark a bookmark as immutable and in that case no field would be updated.
Can you please share an example link? |
Sure. Here: |
Can't access the stats page but I can see if I add the home page the title is fetched correctly:
|
Yes, that's true the home page when updated returns a nice, fully descriptive title, in this case. That is, a page for public view. The admin stats page for the blog (useful for admins!) doesn't... and so this is just one example of how titles and their usefulness vary from one server impplementation to another. It's a small point - an observation. ~As I say, I think the tags behaviour mow, is much better for general buku usability, as per previous observations concerning tags. Titles, and urls, fetched from web behave much better, are more useful as is. |
No description provided.
The text was updated successfully, but these errors were encountered: