Search Attachments in Main Web

Attachment name:   Show all | Help
Use wildcards, such as *.doc
Topic name:
Use wildcards, such as * for all topics

%SET{ "tf" value="" }% %SET{ "af" value="" note_to_developer="The CALCULATE functions change a wildcard to a regular expression" }%

%SEARCH{ "[%]META:FILEATTACHMENT{name=\"%GET{af}%\" a[a-z]+=" type="regex" web="Main" topic="%GET{tf}%" format="$percntCALCULATE{ | *$NOP(%)ICON{viewtopic}$NOP(%) $CHAR(32) Topic topic: $SETLIST( attNames, $LISTEACH( $SETHASH(attNameIndex, $index, $item)$item, $query(attachments.name) ) ) $LIST2HASH( attComments, $LISTEACH( $GETHASH(attNameIndex, $index)$CHAR(44)$CHAR(32)$item, $query(attachments.comment, quote:''') ) ) $LIST2HASH( attDates, $LISTEACH( $GETHASH(attNameIndex, $index)$CHAR(44)$CHAR(32)$item, $query(attachments.date) ) ) $LIST2HASH( attUsers, $LISTEACH( $GETHASH(attNameIndex, $index)$CHAR(44)$CHAR(32)$item, $query(attachments.user) ) ) $SETLIST( afNames, $LISTIF( $SEARCH( %GET{af}%, $LOWER($item) ), $GETLIST(attNames) ) ) $SET( num, $LISTSIZE( $GETLIST(afNames) ) ) $SETM(topics, +1) $SETM(attachments, +$GET(num))* || $CHAR(10) $LISTJOIN( $CHAR(10), $LISTEACH( |

$NOP(%)ICON{$IF($index<$GET(num), dot_udr, dot_ur)}$NOP(%) $NOP(%)ICON{ \"$item\" default=\"else\" }$NOP(%) $CHAR(32) $item $SUBSTITUTE( $GETHASH(attComments, $item), |, | ) | $FORMATTIME( $GETHASH(attDates, $item), $year-$mo-$day )''',''' $CHAR(32) $NOP(%)USERINFO{ \"$GETHASH(attUsers, $item)\" format=\"$wikiusername\" }$NOP(%)
|, $GETLIST(afNames) ) )}$percnt" nonoise="on" }%
Total: 0 topics, 0 attachments

Other search options:
Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | More topic actions
Topic revision: r1 - 2015-05-15 - TWikiContributor
 

All content is Copyright © 1999-2026 by, and the property of, the contributing authors.
Questions, comments, or concerns? Contact GNHLUG.
All use of this site is subject to our Legal Notice (includes Terms of Service).
Page rendered 2026-11-05 03:18:38 UTC