Opened 9 months ago

Last modified 4 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 9 months ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 9 months 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 9 months ago by juliandoucette

comment:2 Changed 9 months ago by jsonesen

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

comment:3 Changed 9 months ago by juliandoucette

  • Blocking 5654 added

comment:4 Changed 7 months ago by juliandoucette

  • Cc ire added

comment:5 Changed 4 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 4 months ago by juliandoucette

  • Summary changed from Provide hooks/filters feature in CMS to Provide CMS hooks feature
Note: See TracTickets for help on using tickets.