Opened 2 years ago

Last modified 2 months ago

#5653 new change

Provide CMS hooks feature

Reported by: juliandoucette Assignee:
Priority: Unknown Milestone: Websites editing service
Module: Sitescripts Keywords:
Cc: kvas, jsonesen, wspee, ire Blocked By:
Blocking: Platform: Unknown / Cross platform
Ready: no Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description (last modified by juliandoucette)

Background

See attached email thread.

TL;DR I'd like a way to make automated changes to entire pages e.g. adding target="_blank" to all anchor tags that have external hrefs. I could do this by e.g. searching for <a [*]*> and adding target="_blank" if the result does not contain the siteurl.

What to change

Execute "hooks" provided in "hooks" website directory. "hooks" are like "filters" except that they are applied to entire pages after rendering/converting.

Attachments (1)

CMS hooks:converters.pdf (79.7 KB) - added by juliandoucette 2 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 2 years ago by juliandoucette

I set the milestone "website editing service" because I think that we will use this feature to make editing easier e.g. automating <fix> & <abbr> tags and auto-fixing links.

Changed 2 years ago by juliandoucette

comment:2 Changed 2 years ago by jsonesen

I think hooks would be best since converters is a name of a module in the CMS

comment:3 Changed 2 years ago by juliandoucette

  • Blocking 5654 added

comment:4 Changed 2 years ago by juliandoucette

  • Cc ire added

comment:5 Changed 21 months ago by juliandoucette

  • Blocking 5654 removed
  • Description modified (diff)

BUMP: We can use this to fix a lot of inconsistency and reduce manual labour. Please prioritize accordingly.

comment:6 Changed 21 months ago by juliandoucette

  • Summary changed from Provide hooks/filters feature in CMS to Provide CMS hooks feature

comment:7 Changed 2 months ago by kvas

Dear stakeholders of this ticket,

I'm cleaning up Sitescripts tickets in Trac due to its phase out. This is one of the tickets that I could not myself close or move, so I need your input on it.

Please let me know if this ticket is still relevant for you and we can then discuss where it should be moved. If you think that this ticket is no longer relevant, you can write a comment explaining this or just ignore this message.

If I see now comments in the ticket on October 14, I will close it as rejected.

Best regards,
Vasily

Note: See TracTickets for help on using tickets.