I have to replace all internal links inside a rich text field with their respective jsp page reference For Example
<a title=" enjoy the life in your way " href="tcm:71-72624"> enjoy the life in your way</a>
Should be replaced by
<jsp:include page="/na/_scriptlets/RichTextLinks.jsp">
<jsp:param name="title" value=" enjoy the life in your way" />
<jsp:param name="tcmid" value="tcm:71-72624" />
<jsp:param name="publicationName" value="na" />
</jsp:include>
Is this possible using the Tridion APIs? If yes , how it is possible ?
We are not using XSLT templating application.
One of my team members is assigned to write content delivery code inside the “RichTextLinks.jsp” which can resolve these internal links inside the richtext field of the Broker published Components and output the respective page’s URL.
Again here I would like to validate this whole approach? is it possible or not?
If there is some other best practice to deal such functionality please share with us.