|
<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master"
Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
<asp:Content ID="indexTitle" ContentPlaceHolderID="TitleContent" runat="server">
Home Page
</asp:Content>
<asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">
<h2><%= Html.Encode(Model.MyTitle) %></h2>
<p>
<%using (Html.BeginForm())
{ %>
Search Twitter: <%=Html.TextBox("query")%> <input type="submit" value="Search"/>
<ul>
<% foreach (var entry in Model.entry_All)
{ %>
<li> <image height=24 width=24 src=<%=entry.link_All[1].href%> align="middle" />
<a href="<%=Html.Encode(~entry.author.uri) %>"> <%=Html.Encode(~entry.author.name)%></a>
</li>
<ul>
<li><%= Html.Encode(~entry.title)%> </li>
<li><small>
<a href="<%=entry.link_All[0].href %>">View</a> | Date <%=Html.Encode(~entry.published) %>
</small></li>
</ul>
<% }%>
</ul>
<%} %>
</p>
</asp:Content>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Architect, Developer, Speaker | Wannabe GUT inventor & Data Scientist | Microsoft MVP in C#