Hi, How can i write a tweet transformation for my dynamic page?
i got for content rating as,
<%@ Register Src="~/CMSAdminControls/ContentRating/RatingControl.ascx" TagName="RatingControl" TagPrefix="cms" %>
<cms:RatingControl ID="elemRating" runat="server" Enabled="true" RatingType="Stars" ExternalValue=' <%# Convert.ToString(CMS.GlobalHelper.ValidationHelper.GetDouble(Eval("DocumentRatingValue"), 0)/((CMS.GlobalHelper.ValidationHelper.GetDouble(Eval("DocumentRatings"), 0) == 0?1:CMS.GlobalHelper.ValidationHelper.GetDouble(Eval("DocumentRatings"), 1)))) %>' />
Please help
Why are you using the content rating control in a tweet transformation? Typically you're tweets are going to come directly from a Twitter API call and have nothing to do with the document the webpart is placed on.
Please, sign in to be able to submit a new answer.