PmWiki.Search History

Hide minor edits - Show changes to output - Cancel

May 25, 2015, at 05:00 PM by Cristy - 9Lin9OePslF
Changed line 1 from:
152Paul I believe it's tara?Also plseae learn from this:One time after a night-time ice storm in the mountainsof Virgina, I was driving down the main '4 lanes in eachdirection highway', etc. I had pulled over the nightbefore, when I noticed the roads became eerily emptyaround 7pm at night (early January). I turned on theradio, and heard the ice storm warning. But the next day,we were told the highway was salted and safe to drivenormally.I was still being cautious driving 55, while otherswere whizzing by me, even though the grassy median andsides of the road were littered with abandoned twistedtractor-trailers and cars in unbelievable positions likestrewn toys which had to be abandoned the night before (many people slept in schools!)Anyway, going over a long bridge, my light-weight smallpick-up truck immediately started fish-tailing completelyout of control so much that my mouth opened wider thanit ever had and I couldn't help but gasp in one continuous inhalation until I was at end of the bridge and I got control of my truck again.Luckily I was alone on the bridge at time, because mytruck swerved completely into both of the other laneson either side of me at different times.At the end, there was one thought in my mind terror'.I just thought now I know the true meaning of terror'.I will never drive in those conditions again, even ifadvised it is safe. Although it is true my truck waslight, and I didn't have snow tires, etc. It's stillnot worth it to me.My father and I also did a 360 on black ice once, where wetotally went into the on-coming lane in the beginning.*There's my personal Public Safety Warning!*
to:
Оставьте свой комментарий Вы можете использовать следующие HTML тэги: <a> <abbr> <acronym> <b> <blockquote> <cite> <code> <del> <em> <i> <q> <strike> <strong> Notify me of followup cnmteoms via e-mail
March 16, 2013, at 12:20 PM by Lydmila - LlxJAdAuFNBtG
Changed lines 1-74 from:
(:description A page for advanced and customized search options:)
(:Summary:Targeting and customising search results:)
(:if !equal {$Action} "search":)
>>rframe width=300pcx font-size=smaller<<
-< '''This page uses [[#example|custom]] searches.'''
For regular searches, view another page.
>><<
PmWiki provides a basic search function. While it is not powered by a "search engine", it can be tweaked to produce results that are ''targeted'' and ''customized.''

!!!! Targeted searches
Searches can be targeted to restrict the search to certain pages. For example, a search can be restricted based on groups, where, for instance, "group=PmWiki" searches only the PmWiki group, and "group=-PmWiki" searches only pages that are not in the PmWiki group. In addition to groups, searches can be restricted based on page names ("name="), [[wiki trails]] ("trail="), backlinks ("link=") and other criteria (e.g. "list=normal") and capped at a maximum number ("count="). For documentation about each of these parameters, see [[page lists]].

!!!! Customized display
The display of search results can be customized to control the format, content and order of the returned results. Format and content are selected by using "fmt=" to specify a pagelist template that determines layout, such as list styles, and page elements, such as title and description. The "order=" option allows results to be sorted according to different criteria, such as name and title. For documentation about each of these parameters, see [[page lists]]. For examples of pagelist template formats see [[Site.Page List Templates]], (:if2 exists Site.LocalTemplates:)[[Site.Local Templates]],(:if2end:) and [[Cookbook:Pagelist Template Samples]].

The [@(:pagelist request=1 req=1:)@] directive can be used instead of [@(:searchresults:)@] to remove the "Results of search for" message.
The req=1 parameter disables the pagelist until search results are returned.
This can be used in many more cases than the default pmwiki search.
Data from pages with PTVs, etc can be searched, filtered, and reordered.
Note that the default ordering is of text strings, ie. 1, 10, 2, 3 and not the numeric value 1, 2, 3, 10, but a custom pagelist sort function (see the [[cookbook/]]) can return any order required.

!!!! Anyone, anywhere
'''Readers''' can create targeted and customized search results simply by typing the relevant parameters , e.g. "group=PmWiki", into search boxes together with their search string. '''Authors''' can predefine such targeted and customized searches by incorporating the parameters into pages using the [@(:searchbox:)@] and [@(:searchresults:)@] directives (documented at [[PageLists]]).

[@(:searchresults:)@] can be customized by editing page [@Site.Search@].

See also
* $PageSearchForm
* $SearchBoxOpt
* $SearchPatterns


[[#example]]
!!!!Try it: this page generates custom searches
Any search that is run from this page will automatically generate pre-defined sets of search results that: '''''target''''' different clusters of pages (documentation, cookbook and PITS, if available); use '''''customized''''' formats, content and ordering; and '''''reveal''''' the specific parameters used to generate each search result. Whether you use the search box below, or the regular search box that appears at the top of this page, any search that you run from this page will provide the customized results.
(:searchbox size=20:)


(:ifend:)
(:if equal {$Action} "search":)
[[{$Name}|back]]\

(:table border=0 width=100%:)\

(:cell width=30%:)\

!!!! [[Site/AllRecentChanges?q=PmWiki/+order%3Dname&action=search|All Documentation]]
(:searchresults group=PmWiki fmt=#onegroupdesc order=name:)
(:if expr exists Cookbook.Cookbook and equal {$Action} "search":)
(:cell width=35%:)\

!!!! [[Cookbook.Cookbook|All Cookbook Recipes]]
(:searchresults group=Cookbook fmt=#summary order=name:)
(:if expr exists PITS.PITS and equal {$Action} "search":)
(:cell width=35%:)\

!!!! [[PITS.PITS|PITS (Issue Tracking)]]
(:searchresults group=PITS fmt=#summary name=0* order=-name:)
(:if equal {$Action} "search":)
(:tableend:)

Note: The strings that were used to target and format each search result are shown above in ''italics'' and can be entered directly into a regular search box.

(:title Search:)
(:if false:)

[[#onegroupdesc]]
[[{=$Group}/{=$Name}]] %font-size=smaller font-style=italic%{=$Description}%%\\
[[#onegroupdescend]]

[[#summary]]
[[{=$Group}/{=$Name}]] %font-size=smaller font-style=italic%{=$:Summary}%%\\
[[#summaryend]]
(:ifend:)
to:
152Paul I believe it's tara?Also plseae learn from this:One time after a night-time ice storm in the mountainsof Virgina, I was driving down the main '4 lanes in eachdirection highway', etc. I had pulled over the nightbefore, when I noticed the roads became eerily emptyaround 7pm at night (early January). I turned on theradio, and heard the ice storm warning. But the next day,we were told the highway was salted and safe to drivenormally.I was still being cautious driving 55, while otherswere whizzing by me, even though the grassy median andsides of the road were littered with abandoned twistedtractor-trailers and cars in unbelievable positions likestrewn toys which had to be abandoned the night before (many people slept in schools!)Anyway, going over a long bridge, my light-weight smallpick-up truck immediately started fish-tailing completelyout of control so much that my mouth opened wider thanit ever had and I couldn't help but gasp in one continuous inhalation until I was at end of the bridge and I got control of my truck again.Luckily I was alone on the bridge at time, because mytruck swerved completely into both of the other laneson either side of me at different times.At the end, there was one thought in my mind terror'.I just thought now I know the true meaning of terror'.I will never drive in those conditions again, even ifadvised it is safe. Although it is true my truck waslight, and I didn't have snow tires, etc. It's stillnot worth it to me.My father and I also did a 360 on black ice once, where wetotally went into the on-coming lane in the beginning.*There's my personal Public Safety Warning!*


Page last modified on May 25, 2015, at 05:00 PM