%
% generate html needed
%
Task.@
%
% stack: base-path user-guid image-count image-list
%
"list " log()
!User.List
!User.Count
!User.User
"path " log()
!User.BasePath
"UserList.html" oflocal read !User.Template
empty !User.Summary
%
% create user images list html
%
_User.List ofconn
exec
countup
{
pop
%
% analyze the user metadata
%
unescape
!User.Meta
!User.Id
%%%
_User.Meta
"" "" replall
"=""" "`" replall
""" " """ *setmetas " catcr &"""" replall
"`" """ """ replall
&""""
dup logs
dup !User.Xmeta
execstr pop
root\
_Meta.ImageFile
"img " log()
"htmlgens " &2 &" -- " *flagging
%
% move to the gallery this image is part of
%
_Meta.ShootLoc &"_" &_Meta.DeviceLoc !Shooter.Prefix
seek*
"genning " log()
{
!\
"xact" \_ !Xact
%
% set the meta data info into the node for this image
%
"
Xact " &_Xact
}
{
" "
} ifelse
&" |
" &_Shooter.Prefix &" " &_Meta.ImageFile &" |
"
^_User.Summary !User.Summary
} for
_User.Template
"" _User.Summary replall
"___User___" _Meta.UserPhone replall
"UP" &_Meta.UserPhone html ofsnap write
Tree.Changed
"IfrGo(""" &_Arching.VirChain &"/UP" &_Meta.UserPhone html");
"
dup logs
Help.!
|