eko / FeedBundle

A Symfony bundle to build RSS feeds from your entities
http://vincent.composieux.fr
MIT License
141 stars 50 forks source link

Add support for anchor in RoutedItemInterface #13

Closed clemherreman closed 12 years ago

clemherreman commented 12 years ago

Generated urls from the RouterItemInterface sometimes needs to have an anchor, so the link is more precise.

This PR adds a new method to the RouterIteminterface, getFeedItemUrlAnchor() that should return the anchor to be appended to the url generated via the symfony router and the getFeedItemRouteName() & getFeedItemRouteParameters() methods.

eko commented 12 years ago

That's not really good because people Will always have an empty anchor in their URL if they don't want to use to.

Can you fix that and add some doc please?

Thank you for contributing!

clemherreman commented 12 years ago

@eko should be good now :)

eko commented 12 years ago

Thank you for contributing! :octocat: