HoldUpFjord / Link-Manager

Goal: Create a link manager that can store tabs on a server to be accessed later. 100Devs
2 stars 6 forks source link

Create the functionality of hosting a new link #3

Closed TheWoodenMan closed 2 years ago

TheWoodenMan commented 2 years ago

You could drop a link into a text box, click submit, that goes to the server as a get request.

The server then get requests the link to the site to grab the title (which then proves it's a valid link) if it's not a valid link - errors all round.

if it is a valid link, the server then updates the list element with the title, hotlinked, creates a new empty link box underneath it - then refreshes the page

https://stackoverflow.com/questions/64051968/retrieving-title-of-a-page-with-url-in-nodejs There's always a stack overflow :)

TheWoodenMan commented 2 years ago

https://github.com/HoldUpFjord/Link-Manager/pull/20 Solves this issue.