Click here to Skip to main content
15,886,873 members
Articles / Desktop Programming / WPF

Iron Web Analyzer

Rate me:
Please Sign up or sign in to vote.
4.83/5 (9 votes)
26 May 2010CPOL5 min read 39.3K   3.4K   37  
Analyze website content for Search Engine Optimization and technical problems (using Iron Python)
<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" xmlns:local="clr-namespace:AnalyzerEditor" x:Name="window" x:Class="AnalyzerEditor.AnalyzerInfo"
    Title="Analyzer Info" Height="304" Width="544" WindowStartupLocation="CenterOwner" ResizeMode="NoResize" ShowInTaskbar="False">
	<Window.Resources>
		<local:CContentType x:Key="CContentType"/>
	</Window.Resources>
    <Grid Style="{StaticResource MainBackground}"  FocusManager.FocusedElement="{Binding ElementName=txtName}">
    	<Grid.ColumnDefinitions>
    		<ColumnDefinition Width="0.608*"/>
    		<ColumnDefinition Width="0.392*"/>
    	</Grid.ColumnDefinitions>
        <Label Height="28" Margin="8,8,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="95" Style="{DynamicResource TitleLabel}" Content="Name*:"/>
        <TextBox Height="23" Margin="107,8,8.957,0" VerticalAlignment="Top" ToolTip="Name of analyzer" x:Name="txtName" MaxLength="20" Text="{Binding Data.Name, ElementName=window, Mode=TwoWay}" />
    	<Label Margin="5,8,8,0" VerticalAlignment="Top" Content="My Analyzer Name" Style="{DynamicResource DescriptionLabel}" Grid.Column="1"/>
        <Label Height="28" HorizontalAlignment="Left" Margin="8,36,0,0" VerticalAlignment="Top" Width="95" Style="{DynamicResource TitleLabel}" Content="Author:"/>
    	<Label Margin="5,36,8,0" Style="{DynamicResource DescriptionLabel}" VerticalAlignment="Top" Content="Author Name" Grid.Column="1"/>
        <TextBox Height="23" Margin="107,36,8.957,0" ToolTip="Name of analyzer author" VerticalAlignment="Top" MaxLength="20" x:Name="Author" Text="{Binding Data.Author, ElementName=window, Mode=TwoWay, UpdateSourceTrigger=Default}" />
        <Label Height="28" HorizontalAlignment="Left" Margin="8,64,0,0" VerticalAlignment="Top" Width="95" Style="{DynamicResource TitleLabel}" Content="Contact:"/>
        <TextBox Height="23" Margin="107,64,8.957,0" ToolTip="Contact E-Mail address to analyzer author" VerticalAlignment="Top" MaxLength="256" x:Name="Contact" Text="{Binding Data.Contact, ElementName=window, Mode=TwoWay, UpdateSourceTrigger=Default}" />
    	<Label Margin="5,64,8,0" Style="{DynamicResource DescriptionLabel}" VerticalAlignment="Top" Content="Author Mail Address" Grid.Column="1"/>
    	<Label Height="28" HorizontalAlignment="Left" Margin="8,92,0,0" VerticalAlignment="Top" Width="95" Style="{DynamicResource TitleLabel}" Content="URL:"/>
    	<TextBox Height="23" Margin="107,92,8.957,0" ToolTip="URL address for analyzer uthor" VerticalAlignment="Top" MaxLength="256" x:Name="URL" Text="{Binding Data.Url, ElementName=window, Mode=TwoWay, UpdateSourceTrigger=Default}" />
    	<Label Margin="5,92,8,0" Style="{DynamicResource DescriptionLabel}" VerticalAlignment="Top" Content="Author Blog or Website" Grid.Column="1"/>
        <Label Height="28" HorizontalAlignment="Left" Margin="8,120,0,0" VerticalAlignment="Top" Width="95" Style="{DynamicResource TitleLabel}" Content="Description:"/>
        <TextBox Height="23" Margin="107,120,8.957,0" ToolTip="Description about analyzer" VerticalAlignment="Top" MaxLength="100" x:Name="Description" Text="{Binding Data.Description, ElementName=window, Mode=TwoWay, UpdateSourceTrigger=Default}" />
    	<Label Margin="5,120,8,0" Style="{DynamicResource DescriptionLabel}" Content="What my analzyer do" Grid.Column="1" VerticalAlignment="Top"/>
        <Label HorizontalAlignment="Left" Margin="8,148,0,0" Width="100" Style="{DynamicResource TitleLabel}" Content="Content Types*:" VerticalAlignment="Top" Height="28"/>
        <TextBox Margin="107.957,148,8,0" VerticalAlignment="Top" Height="79" ToolTip="Content types supported by analyzer" x:Name="ContentType" Text="{Binding Data.ContentTypes, Converter={StaticResource CContentType}, ElementName=window, Mode=TwoWay, UpdateSourceTrigger=Default}" AcceptsReturn="True" />
    	<Label Margin="5,148,8,0" Style="{DynamicResource DescriptionLabel}" VerticalAlignment="Top" Content="text/html&#xa;text/plain&#xa;text/xml" Grid.Column="1" Height="79"/>
        <Button Margin="0,0,87,8" VerticalAlignment="Bottom" Content="_OK" IsDefault="True" Grid.Column="1" HorizontalAlignment="Right" Width="74.695" Click="Button_Click" />
        <Button HorizontalAlignment="Right" Margin="0,0,8,8" VerticalAlignment="Bottom" Width="75" Content="_Cancel" IsCancel="True" Grid.Column="1"/>
    </Grid>
</Window>

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.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
Iran (Islamic Republic of) Iran (Islamic Republic of)
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions