wcms icon indicating copy to clipboard operation
wcms copied to clipboard

Think about how we could use W as a link playlist tool

Open vincent-peugnet opened this issue 2 years ago • 2 comments
trafficstars

Currently, it's quite possible using redirection and tags. User can then filter their pages and even create lists on pages.

About LIST of redirected pages : it is a bit strange as links will still point to the W page, and will be redirected after. But it seems tricky to directly replace the link in the rendered page. Or isn't it ???

It would be an interesting project to work on it using the API and creating a dedicated form to create pages that are bookmarks. It would add a tag, ask for title and description. It could event try to snapshot the webpage and save it as thumbnail :astonished: (or maybe just the favicon).

On the back end side, I could also add a filtering option to filter pages that have redirection against page that haven't. There could be different options:

  • redirection 1
    • internal redirection 11
    • external redirection 12
  • no redirection 0
  • all -1

vincent-peugnet avatar May 10 '23 13:05 vincent-peugnet

This morning, I fought of replacing straight redirections (redirection without refresh time or sleep) with their target directly during the rendering.

This could be interesting when doing a PAGELIST mixing internal links and externals (redirections) to have the real link preview. The only problem I see, would be that the visit counter of the intermediate page is by passed ! And this could totally be one interest of editors using this system: counting links visits.

To compensate, I could allow PAGELIST to display the redirection URL as a render option: Sounds fair.

For internal links, I don't see any use case of storing visit of intermediate link or they seems too obscures.

vincent-peugnet avatar May 13 '23 11:05 vincent-peugnet

This could be interesting when doing a PAGELIST mixing internal links and externals (redirections) to have the real link preview. The only problem I see, would be that the visit counter of the intermediate page is by passed ! And this could totally be one interest of editors using this system: counting links visits.

A solution could be to use the ping attribute in links. This seems to send a POST request when an user follow the link. W could recieve this and update the page visit counter. There's just one problem: Firefox disallow this option by default. :)

https://developer.mozilla.org/fr/docs/Web/HTML/Element/a#ping

vincent-peugnet avatar Aug 25 '23 14:08 vincent-peugnet