Technical support This forum is closed.
Version 1.x > Technical support > Content parsing View modes: 
User avatar
Member
Member
sciamannikoo - 1/20/2006 10:42:42 AM
   
Content parsing
hi,

I would like to pase my contents, to replace some string with links to other pages (similar to Wikipedia).
I already have te code to point to other pages and I know how to read contents using Kentico API.
But I want to generalize using normal controls (CMSViewer, CMSRepeater, etc...) and some event wich read single content of a field, call my routine and return new string to write in item control.

I hope to be it clear... :-S

User avatar
Guest
admin - 1/20/2006 11:41:49 AM
   
Re: Content parsing
Hi Andrea,

Thank you for your message. Unfortunately, this cannot be done on the content management level in the current version. However, you could write an output filter (similar to CMSOutputFilter) that would read the rendered page and make the replacements.

Best Regards,

User avatar
Member
Member
sciamannikoo - 1/20/2006 11:49:05 AM
   
Re: Content parsing
Is not exactly the same thing...

I dont want to manage all rendered page (or my page might be fille of links), but only all single item content.
For example, suppose I have a page template, wich use CMSViewer to show my contents (a simple text page with Title and Body).

Really, writing this post, I've found the solution! :-D

I can use my ASCX trasnformation, to call my shared functions to parse my contents.

Thank you.

Bye,
Andrea

User avatar
Guest
admin - 1/20/2006 11:51:13 AM
   
Re: Content parsing
OK, great :)