Automatically fetch site title from url #913

Open
opened 1 year ago by bolgrov · 3 comments
bolgrov commented 1 year ago

Hello @konrad,

It would be very useful if anytime an url is entered in the tasks title, Vikunja could fetch the site url and substitute the entered url by: [site title](url) .

Todoist does this natively, but you could look at how Wallabag does this for their article fetching.

Thank you !

Hello @konrad, It would be very useful if anytime an url is entered in the tasks title, Vikunja could fetch the site url and substitute the entered url by: `[site title](url) `. Todoist does this natively, but you could look at how Wallabag does this for their article fetching. Thank you !
Owner

Related to vikunja/frontend#580 I guess. Would make sense to have this in the api rather than the frontend (I can smell CORS-Erors already if we'd try to solve this through the frontend).

Related to https://kolaente.dev/vikunja/frontend/issues/580 I guess. Would make sense to have this in the api rather than the frontend (I can smell CORS-Erors already if we'd try to solve this through the frontend).
konrad added the
kind/feature
label 1 year ago
Poster

Related to vikunja/frontend#580 I guess. Would make sense to have this in the api rather than the frontend (I can smell CORS-Erors already if we'd try to solve this through the frontend).

Hey @konrad,

That's why I opened this issue in the api repo 🙂

This, combined with vikunja/frontend#580 can be very useful.
For example, when you want to add a site as a tasks it would fetch the title of the site article/video/etc and would substitute the url with a clickable link.

Where I find this most useful is for tutorials, for me or for friends in shared lists. Imagine you want to take an online course which has its lessons in various sub-urls or different youtube videos. You create a main task Online Course and insert as subtasks all the course's url lessons which will autogenerate clickable links to the lesson's site or videos and you can now schedule all this subtasks to take an online course for you or to friends through shared lists.

This is just two use cases, but there are more obviously !

Thank you once again.

> Related to https://kolaente.dev/vikunja/frontend/issues/580 I guess. Would make sense to have this in the api rather than the frontend (I can smell CORS-Erors already if we'd try to solve this through the frontend). Hey @konrad, That's why I opened this issue in the api repo 🙂 This, combined with [vikunja/frontend#580](https://kolaente.dev/vikunja/frontend/issues/580) can be very useful. For example, when you want to add a site as a tasks it would fetch the title of the site article/video/etc and would substitute the url with a clickable link. Where I find this most useful is for tutorials, for me or for friends in shared lists. Imagine you want to take an online course which has its lessons in various sub-urls or different youtube videos. You create a main task **Online Course** and insert as subtasks all the course's url lessons which will autogenerate clickable links to the lesson's site or videos and you can now schedule all this subtasks to take an online course for you or to friends through shared lists. This is just two use cases, but there are more obviously ! Thank you once again.
Owner

Yeah I think it makes sense to have this - I've added it to the backlog.

Yeah I think it makes sense to have this - I've added it to the backlog.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/api#913
Loading…
There is no content yet.