-
Notifications
You must be signed in to change notification settings - Fork 10
/
Package.xml
130 lines (125 loc) · 5 KB
/
Package.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<umbPackage>
<info>
<package>
<name>ezSearch</name>
<version>0.0</version>
<license url="http://www.opensource.org/licenses/mit-license.php">MIT license</license>
<url>http://our.umbraco.org/projects/website-utilities/ezSearch</url>
<requirements>
<major>6</major>
<minor>0</minor>
<patch>4</patch>
</requirements>
</package>
<author>
<name>Matt Brailsford, Douglas Robar</name>
<website>http://our.umbraco.org</website>
</author>
<readme><![CDATA[ezSearch is the easy search solution for your Umbraco MVC websites. It's fast, self contained and completely configurable.
With ezSearch you can search for words and phrases in your content and media and have the results displayed in a paged list sorted by relevance and with search term highlighting.
ezSearch runs on Umbraco 6.0.4+ and is powered by the built in Lucene index and razor, giving you a fast yet flexible site search package.]]></readme>
</info>
<DocumentTypes>
<DocumentType>
<Info>
<Name>ezSearch</Name>
<Alias>ezSearch</Alias>
<Icon>.sprTreeDoc3</Icon>
<Thumbnail>docWithImage.png</Thumbnail>
<Description>ezSearch page.
(adjust settings via the macro in the ezSearch template)</Description>
<AllowAtRoot>False</AllowAtRoot>
<AllowedTemplates>
<Template>ezSearch</Template>
</AllowedTemplates>
<DefaultTemplate>ezSearch</DefaultTemplate>
</Info>
<Structure />
<GenericProperties>
<GenericProperty>
<Name>Hide page?</Name>
<Alias>umbracoNaviHide</Alias>
<Type>38b352c1-e9f8-4fd8-9324-9a2eab06d97a</Type>
<Definition>92897bc6-a5f3-4ffe-ae27-f2e7e33dda49</Definition>
<Tab>
</Tab>
<Mandatory>False</Mandatory>
<Validation>
</Validation>
<Description><![CDATA[]]></Description>
</GenericProperty>
</GenericProperties>
<Tabs />
</DocumentType>
</DocumentTypes>
<Templates>
<Template>
<Name>ezSearch</Name>
<Alias>ezSearch</Alias>
<Design><![CDATA[@inherits Umbraco.Web.Mvc.UmbracoTemplatePage
@{
Layout = null;
}
<h2>@Umbraco.Field("pageName")</h2>
@Umbraco.RenderMacro("ezSearch")]]></Design>
</Template>
</Templates>
<Stylesheets />
<Macros>
<macro>
<name>ezSearch</name>
<alias>ezSearch</alias>
<scriptType>
</scriptType>
<scriptAssembly>
</scriptAssembly>
<xslt>
</xslt>
<useInEditor>False</useInEditor>
<refreshRate>0</refreshRate>
<scriptingFile>~/Views/MacroPartials/ezSearch.cshtml</scriptingFile>
<properties>
<property name="Root content node to search from" alias="rootContentNodeId" show="True" propertyType="contentPicker" />
<property name="Root media node to search from" alias="rootMediaNodeId" show="True" propertyType="mediaCurrent" />
<property name="Type of content to search for (CONTENT, MEDIA, BOTH)" alias="indexType" show="True" propertyType="text" />
<property name="Fields to search against" alias="searchFields" show="True" propertyType="text" />
<property name="Fields to show as the result preview" alias="previewFields" show="True" propertyType="text" />
<property name="Maximum length of the preview text" alias="previewLength" show="True" propertyType="number" />
<property name="Number of results to show per page" alias="pageSize" show="True" propertyType="number" />
<property name="Field that flags whether page should be hidden from results" alias="hideFromSearchField" show="True" propertyType="text" />
<property name="Location of the search form (TOP, BOTTOM, BOTH, NONE)" alias="searchFormLocation" show="True" propertyType="text" />
</properties>
</macro>
</Macros>
<DictionaryItems>
<DictionaryItem Key="ezSearch">
<Value LanguageId="1" LanguageCultureAlias="en-US"><![CDATA[]]></Value>
<DictionaryItem Key="[ezSearch] Next">
<Value LanguageId="1" LanguageCultureAlias="en-US"><![CDATA[Next]]></Value>
</DictionaryItem>
<DictionaryItem Key="[ezSearch] No Results">
<Value LanguageId="1" LanguageCultureAlias="en-US"><![CDATA[No results found for search term <strong>{0}</strong>.]]></Value>
</DictionaryItem>
<DictionaryItem Key="[ezSearch] Previous">
<Value LanguageId="1" LanguageCultureAlias="en-US"><![CDATA[Previous]]></Value>
</DictionaryItem>
<DictionaryItem Key="[ezSearch] Results Range">
<Value LanguageId="1" LanguageCultureAlias="en-US"><![CDATA[Showing results <strong>{0}</strong> to <strong>{1}</strong>.]]></Value>
</DictionaryItem>
<DictionaryItem Key="[ezSearch] Search">
<Value LanguageId="1" LanguageCultureAlias="en-US"><![CDATA[Search]]></Value>
</DictionaryItem>
<DictionaryItem Key="[ezSearch] Summary">
<Value LanguageId="1" LanguageCultureAlias="en-US"><![CDATA[Your search for <strong>"{0}"</strong> matched <strong>{1}</strong> page(s).]]></Value>
</DictionaryItem>
</DictionaryItem>
</DictionaryItems>
<Languages />
<DataTypes />
<Actions>
<Action runat="install" undo="false" alias="RebuildIndex" index="ExternalIndexer" />
</Actions>
<control />
<files />
</umbPackage>