Text Generator

Often I want to generate text for web sites or just fill in the blanks…here is the coolest thing…Lorem Ipsum (http://www.lipsum.com/) and they have a simple XML service to push stuff back…

 

http://www.lipsum.com/feed/xml?amount=<int>&what=<paras,words,bytes>&start=<yes,no&gt;

    type: bytes,words,paras

    Start: yes,no (Whether to start with "Lorem ipsum dolor")

 

PowerShell Example: 

[xml]$w = (new-object net.webclient).DownloadString("http://www.lipsum.com/feed/xml?amount=10&what=paras&start=yes&quot;)

#text output is in the following

$w.feed.lipsum

Advertisements