Links in comments should be clickable #157

Open
opened 2023-08-26 12:08:14 +00:00 by davmo · 3 comments
Collaborator

The PHP version of the site used a dynamic routine call to turn URLs to links. The static site doesn't do this.

It would be good if this feature was available again.

The PHP version of the site used a dynamic routine call to turn URLs to links. The static site doesn't do this. It would be good if this feature was available again.
Author
Collaborator

Found Template::Plugin::Clickable which may be helpful in doing this.

There are dependencies though:
libtemplate-plugin-clickable-perl depends on:
libuniversal-exports-perl
libexporter-lite-perl

Found `Template::Plugin::Clickable` which may be helpful in doing this. There are dependencies though: `libtemplate-plugin-clickable-perl` depends on: `libuniversal-exports-perl` `libexporter-lite-perl`
Collaborator

I would like to limit the number of modules that we use. This is because of the length of the HPR project. Over time modules are replaced or not maintained any more making it a constant problem to provide workarounds.

The issue is that links in comments should be clickable.

We therefore should discuss the option of converting the comments to html as well.

This would mean the workarounds for adding page breaks could also be removed.

As well as the work involved in finding and converting links and page breaks, we would need to confirm that there are no remaining spam links. Epically in the shows prior to our manual checking of comments.

I would like to limit the number of modules that we use. This is because of the length of the HPR project. Over time modules are replaced or not maintained any more making it a constant problem to provide workarounds. The issue is that links in comments should be clickable. We therefore should discuss the option of converting the comments to html as well. This would mean the workarounds for adding page breaks could also be removed. As well as the work involved in finding and converting links and page breaks, we would need to confirm that there are no remaining spam links. Epically in the shows prior to our manual checking of comments.
Author
Collaborator

I agree with module limitation where possible. The expansion of the module list with the three more mentioned above seems highly undesirable. To my eyes the Template::Plugin::Clickable module has the look of one that may well be unmaintained before long.

Permanent conversion of comments to HTML should not be difficult. There are currently over 3800 comments in the system, but that is not a huge task to convert. It's a larger task than adding a conversion stage to the static site build, but will be better and more efficient in the long term.

I agree with module limitation where possible. The expansion of the module list with the three more mentioned above seems highly undesirable. To my eyes the `Template::Plugin::Clickable` module has the look of one that may well be unmaintained before long. Permanent conversion of comments to HTML should not be difficult. There are currently over 3800 comments in the system, but that is not a huge task to convert. It's a larger task than adding a conversion stage to the static site build, but will be better and more efficient in the long term.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: rho_n/hpr_generator#157
No description provided.