I would like to have the feature, that if users on my site post internal links within a text, this links are replaced by a thumbnail, node title etc. For choosing what to show instead of the link I would like to use Views. What would be the best method to do so?
- I think, a simple replacement with hook_node_submit() or something, is not a good solution: If the user edits his content, I want him to see only what he added himself.
- I could do it within the template, but this is not very elegant, I guess.
- What is about hook_url_outbound_alter(), would that be the best way?
Please give me a hint.