- Google+ Tools
-
Make Google+ profile picture
Make Google plus banners for profile
Create and share your Google Plus profile banners.
- Language
- Windows PowerShell
- Tags
- write-file
Generating Gallery XML File from Images
param ($path, $urlpath)
$files = Get-ChildItem -path $path -filter *.jpg | Select-Object Name
Write-Output "<?xml version=""1.0"" encoding=""utf-8"" standalone=""yes""?>"
Write-Output "<images>"
foreach ($file in $files)
{
$n = $file.Name
"<pic><image>$urlpath/$n</image><thumbnail>$urlpath/thumbs/$n</thumbnail><caption>$n</caption></pic>"
}
Write-Output "</images>"
Comments
blog comments powered by Disqus