{"id":799,"date":"2012-02-08T12:11:30","date_gmt":"2012-02-08T12:11:30","guid":{"rendered":"http:\/\/blog.soton.ac.uk\/webteam\/?p=799"},"modified":"2012-02-08T12:19:30","modified_gmt":"2012-02-08T12:19:30","slug":"linux-sharepoint-perl","status":"publish","type":"post","link":"https:\/\/blog.soton.ac.uk\/webteam\/2012\/02\/08\/linux-sharepoint-perl\/","title":{"rendered":"Linux, SharePoint &#038; Perl"},"content":{"rendered":"<div id=\"attachment_802\" style=\"width: 224px\" class=\"wp-caption alignright\"><a href=\"http:\/\/www.imdb.com\/title\/tt1619880\/\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-802\" class=\"size-full wp-image-802\" title=\"sharktopus\" src=\"http:\/\/blog.soton.ac.uk\/webteam\/files\/2012\/02\/sharktopus.jpg\" alt=\"\" width=\"214\" height=\"317\" srcset=\"https:\/\/blog.soton.ac.uk\/webteam\/files\/2012\/02\/sharktopus.jpg 214w, https:\/\/blog.soton.ac.uk\/webteam\/files\/2012\/02\/sharktopus-202x300.jpg 202w\" sizes=\"auto, (max-width: 214px) 100vw, 214px\" \/><\/a><p id=\"caption-attachment-802\" class=\"wp-caption-text\">Sharetoperl: A half-shark, half-octopus creature created for the University, creates a whole lot of terror in Southampton while a computer scientist who helped created it tries to capture\/kill it. <\/p><\/div>\n<p>(alternative title: The Good, The Bad and the Ugly)<\/p>\n<p>At the Univrsity of Southampton we&#8217;ve jumped into Sharepoint in a big way. It&#8217;s a grumpy beast, and doesn&#8217;t think like me, but it&#8217;s got some things going for it. Currently I&#8217;m working with SP2007 but I&#8217;m told SP2010 is less insanely IE\/Windows centric. Which wouldn&#8217;t be hard. There&#8217;s options in SP2007 which <em>only<\/em> work in Internet Explorer on a Windows box &#8211; yuck!<\/p>\n<p>That said it&#8217;s a good way to create sets of documents with rich controls on people &amp; groups who can read and write them.<\/p>\n<p>It does Calendars, but they&#8217;re a bit of a joke. Utterly Microsoft-centric so I&#8217;m just ignoring them. There&#8217;s probably ways to make them better, but I&#8217;ll worry about it another day.<\/p>\n<p>The other thing SharePoint does is things called &#8220;Lists&#8221;, which is a kinda catch all term for, well, lists of stuff, including the contents of a document library, calendars (I think), and dataish spreadsheetish things.<\/p>\n<p>Now if I could control those from a nice command line (Perl) script it would let me do lots of interesting clever things without ending up in treatment for .NET induced substance abuse.<\/p>\n<p>So I&#8217;ve been around the Web, and there&#8217;s a few helpful posts, but none of them worked (quite), but a combination of hacks got me to something which did work (around 5am this morning).<\/p>\n<ul>\n<li><a href=\"http:\/\/lemur.ecs.soton.ac.uk\/~cjg\/sharepointConnect.pl\">Sharepoint Command Line<\/a><\/li>\n<\/ul>\n<p>Lets just place that in the public domain&#8230; It&#8217;s got scraps from all over the blogosphere, but I&#8217;ve done a fair bit of work tarting it up into something easy to use.<\/p>\n<p>Next stop, uploading files into sharepoint and setting their metadata&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>(alternative title: The Good, The Bad and the Ugly) At the Univrsity of Southampton we&#8217;ve jumped into Sharepoint in a big way. It&#8217;s a grumpy beast, and doesn&#8217;t think like me, but it&#8217;s got some things going for it. Currently I&#8217;m working with SP2007 but I&#8217;m told SP2010 is less insanely IE\/Windows centric. Which wouldn&#8217;t [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[73,4225,361,74],"tags":[],"class_list":["post-799","post","type-post","status-publish","format-standard","hentry","category-command-line","category-perl","category-sharepoint","category-tips"],"_links":{"self":[{"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/posts\/799","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/comments?post=799"}],"version-history":[{"count":3,"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/posts\/799\/revisions"}],"predecessor-version":[{"id":801,"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/posts\/799\/revisions\/801"}],"wp:attachment":[{"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/media?parent=799"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/categories?post=799"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/tags?post=799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}