This was one of my first problems when I was dealing with symfony, before
the new plugin system.

I used markdown to transform my code to HTML (in a CMS, but markdown works
wonders for blogs too ;) ):

Markdown uses a syntax as such:

My [homepage][link]
>
> [link]: [http://spindrop.us/]
>
> But I wanted:

> My [homepage][link]
>
> [link]: [EMAIL PROTECTED]
>
>  So I took made my own version of PHP markdown and it would transform
url's using url_for, before outputting the link tags.  If you understand
markdown, this should be easy to follow and do.  If anybody wants help just
let me know, I can even dig up my old markdown.php.

-d

On 9/21/07, Francois Zaninotto <[EMAIL PROTECTED]>
wrote:
>
> As of now, you can't - you have to write an absolute link.
>
> But we could imagine a special filter transforming some special markup
> into a link. Maybe it is time to have a look at Tristan's
> sfPayloadFilterChainPlugin and create an adapter for the sfSimpleBlogPlugin
> the same way as it has been done for sfSimpleForumPlugin.
>
> François
>
> 2007/9/19, Olivier Revollat <[EMAIL PROTECTED]>:
> >
> > Hello,
> > i've installed sfSimpleBLogPlugin and I wonder how can I include symfony
> > internal links in blog articles ... ??
> >
> > Any ideas ?
> > Thanks ;)
> >
> >
> >
>
> >
>


-- 
Dave Dash
612.670.0621
Discover your favorite restaurant: reviewsby.us
gtalk: dave.dash

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to