Inside "item" -> "link" it doesn't matter what I put, it always causes the macro to error out. I can put code like @item.Url or just type "xyz anything", and the macro always errors to "Cannot show partial view script...blah blah". If I leave blank, then it loads.
I saw on the forums that a couple others had the same problem, but there was no solution. Help? Thanks!
Oh, I just saw that in Visual Studio it says "code is not allowed between the opening and closing tags for 'link'". So.......is there a way around that?
Cannot show link in RSS feed macro
Umbraco 6.x. Trying to follow the instructions at this URL for building an RSS feed in Razor.
http://umbraco.com/help-and-support/video-tutorials/umbraco-fundamentals/razor-recipes/rss.aspx
Inside "item" -> "link" it doesn't matter what I put, it always causes the macro to error out. I can put code like @item.Url or just type "xyz anything", and the macro always errors to "Cannot show partial view script...blah blah". If I leave blank, then it loads.
I saw on the forums that a couple others had the same problem, but there was no solution. Help? Thanks!
Oh, I just saw that in Visual Studio it says "code is not allowed between the opening and closing tags for 'link'". So.......is there a way around that?
Hi Chris,
Could you please post your code?
Jeavon
I came up with a workaround, in case anyone else has this issue. Instead of the link tags, put this -
Here's the full rss code from the razor macro...
is working on a reply...