rkd77 / elinks

Fork of elinks
Other
349 stars 38 forks source link

Remote command addBookmark and not refreshed bookmark title when page is loaded. #227

Closed ZaxonXP closed 1 year ago

ZaxonXP commented 1 year ago

I started to use -remote addBookmark command to add new bookmark to Elinks from my news reader. However the title is the same as URL, which is OK, but on small screen I only see the beginning of the URL, which is hard to find the title of the article. What would be nice is to add an ability to pass the title to addBookmark command or at least to update the title of the bookmark when the page is loaded. Could you add one of these features for the next release?

Kind regards, Piotr

rkd77 commented 1 year ago

Try now, but remember to not quote title. I don't know what if comma is part of url. elinks --remote 'addBookmark(https://www.example.com/panel, Panel somewhere)'

rkd77 commented 1 year ago

I was wrong. Quoting with " is ok. Example: elinks -remote 'addBookmark("https://www.example.com/something", "Title, with comma")'

ZaxonXP commented 1 year ago

Indeed, works with quotes. Thanks a lot!