Omnivore-Telegram-Bot icon indicating copy to clipboard operation
Omnivore-Telegram-Bot copied to clipboard

Add labels when forwarding a link to bot

Open vronizor opened this issue 2 years ago β€’ 9 comments

Hi! Thanks for the great bot :) I might finally be able to solve my information clutter by forwarding articles I want to read directly to my Omnivore!

I was wondering if it would be possible to add labels when forwarding? For example, it would be cool to have a "fixed" label saying that it came from Telegram (telegram), another one saying from which channel/contact it came (from_<contact>), and be able to add arbitrary ones at the time of forwarding (news or investigation).

I have no idea if any of that is possible, but just wanted to throw the idea out there.

vronizor avatar Mar 05 '24 19:03 vronizor

Hello! I'm thrilled to hear that it was helpful for you ;)

  • The fixed/default label seems to be easy to implement, that's a great idea!

  • Speaking of the source from which article was forwarded from is also simple, but I'm not quite sure if this possible, gotta figure it out

I was already thinking of feature to be able to add labels for articles, basically I see it so:

you're sending link and then enumerate labels for it like link label1 label2 label3

Personally, I have label consisting from two words or including emojis πŸ‘ΎπŸŒŒπŸŠ, to make it easier to avoid misspelling or spend time to search for certain symbol I wanted also add labels for labels feature (tautologyπŸ˜†), like you could add cs label to write it instead of computer science each time

Rnbsov avatar Mar 06 '24 16:03 Rnbsov

That sounds perfect! Thanks for the hard work πŸ‘

vronizor avatar Mar 09 '24 17:03 vronizor

Always happy to help!

The first two requested features were implemented under /set_default_label and /set_include_source commands πŸ˜ΈπŸ‘

Regarding the ability to add tags while saving a link , it's now possible! but currently it's not possible to save labels consisting from two words (they will be interpreted as two separate), although I've come up with idea to add some kind of enclosure for them maybe using single/double quotes like link "ai breakthroughs" 'computer science'

As for labels for labels is also not implemented just yet

Feel free to reach out if you have further questions or suggestions! πŸ‘Ύ

Rnbsov avatar Mar 10 '24 17:03 Rnbsov

I don't know how hard that would be, but it would be great to have the ability to add labels while forwarding a link/message with a link from a channel.

Again taking the example from HackerNews Feed, it would be super useful to hit the forward button and add a message containing the labels. Telegram calls that " Add a comment" in the forwarding menu. See the screenshots below for an illustration.

Screenshot_2024-03-13-07-51-52-663-edit_org telegram messenger

Screenshot_2024-03-13-07-49-47-027-edit_org telegram messenger

vronizor avatar Mar 13 '24 06:03 vronizor

@vronizor Happy to inform you that's now possible! πŸ˜ΈπŸ‘

Rnbsov avatar Mar 20 '24 10:03 Rnbsov

Thanks @Rnbsov ! will test asap

vronizor avatar Mar 20 '24 10:03 vronizor

Hi! I've been testing on my end and it doesn't seem to work so far. Here, the "geo" tag should have been added but it doesn't show up on omnivore.

Screenshot_2024-03-24-13-07-45-064_org telegram messenger Screenshot_2024-03-24-13-08-07-678-edit_app omnivore omnivore

vronizor avatar Mar 24 '24 12:03 vronizor

ugh, should work fine now

Rnbsov avatar Mar 25 '24 10:03 Rnbsov

Super, works !

vronizor avatar Mar 25 '24 12:03 vronizor