Roger Turner sends in this answer to my question of a few days ago:
Inserting the macro:
<%local (adrpost = @weblogData.posts.[”<paddedItemNum>”]); if defined ( adrpost^.sourceName) {return ( string.popSuffix (adrpost^.sourceName, “:”) )} else {return (”“)}%>
into your #itemTemplate.txt file (for the multi-author weblog category) does exactly what I was looking for: takes the sourceName from the contributor’s RSS feed and strips the colon and everything following it. I’ll soon announce where this multi-author blog is (and you can see the results there). In the meantime, thanks to Roger for sending me the answer! I love seeing this kind of generosity online.
No comments:
Post a Comment