Search Results
Your search for API returned 17 results. This is page 1 of 2
-
MetaWeblog API: project started in SVN
A little while back I started an Umbraco MetaWeblog API implementation. I know a couple of other Umbraco developers were interested in this functionality so I have put it in SVN with the other Umbraco extensions. svn://svn.umbraco.org/var/lib/svn/umbraco-extensions/UmbracoMetaWeblogAPI As I am really busy at the moment it is unlikely I will be able to do anything with this for a while. If you want to contribute to finishing it off, drop me a mail and I can run you though how to get it up and running. -
Quick tip: Using extension methods with Umbraco and .net 3.5
Ever wished that the Umbraco API had an extra method or two? The example below uses .net framework 3.5 extension methods to accomplish just that.Extension methods allow you to add new methods to existing classes without extending them. // Today would return 2010/02/25 string path = String.Format("{0:yyyy/MM/dd}", DateTime.Now); Doucment parent = new Document(id); Document newDoc = parent.MakePath(path, new DocumentType(parent.ContentType.Id), true); // MakePath isn't an Umbraco API method, so we'll add it using extension methods. namespace FM.Umbraco { public static class DocumentExtensions { public static Document MakePath(this Document d, string path, DocumentType dt, bool publish -
Recruitment isn't easy
of open positions at Moriyama and our ready to apply, you use our REST API which is documented at https://gisajob.moriyama.co.uk/ We don’t accept email applications, you have to apply using REST. Why? Simply because all applications are pre-qualified... interested to figure out how our API works which gives us the confidence that you are both interested in our job and have some basic technical competencies. We like curious people who “tinker” and “get under the hood”. What Next? Well after applying we more or less revert to a traditional recruitment process. You come and visit us and we see if we get along well. Disclaimer: Not technical staff don’t have to apply via REST API. -
Perl, overriding and TeamSite
Quite a common TeamSite development task is to take an API call and extend the functionality.Often the other consultants that I work with are surprised when I show them that Perl does inheritance just like big grown up OO languages so I think this is a tip worth writing about here.The sample below shows how to extend the AddFile method of TeamSite::WFtask to log a warning when a certain number of files are attached (at around 700 files workflow external tasks break as Perl is limited to around 700 command line arguments). package My::TeamSite::WFtask; use strict; use utf8; # equivalent of 'extends' use base qw(TeamSite::WFtask); use constant MAX_ATTACHED_FILES => 600; # Methods that exist in the base class -
A little blog TLC
My blog has been running Umbraco for 5 years and it needed a little TLC. With origins in Umbraco 2.0.6 running on .NET 1.1 there was a lot of clutter going on and templates with very strange names like wordPressPostList. So i've undertaken a little spring cleaning: Upgraded to Umbraco 4.7 Set up auto tagging of posts using the awesome OpenCalais API Rewritten search to use Umbraco Examine Highlighted search results Used Umbraco base AJAX to start suggesting results in page. Open Calais tagging allows the automatic categorisation of posts - the blog now has a list of categories in the right hand column which you can use to explore the last 5 years worth of posts. Clicking on a category simply queries -
Post to Slack when Umbraco content is published
://slacker.moriyama.int{0}", url); var t = "New publish : " + entity.Name + " " + urls; var hash = "bot@moriyama.co.uk".HashEmailForGravatar(); var client = new RestClient("https://slack.com/api"); var request = new RestRequest -
Using Umbraco Webservices with Perl
I had quite a few spam comments on my site that I wanted to get rid of. Without a content search option available in Umbraco, I decided to use the webservices to get a list of all blog comments. As a result of this, I have quite a nice example of how to access Umbraco via webservices with Perl. The example below will simply get all documents from Umbraco and print them to screen. use SOAP::Lite +trace => 'debug'; use Data::Dumper; use constant HOST => 'myhost'; use constant UID => 'admin'; use constant PWD => 'mypwd'; use constant ROOTNODE => 0; my $access = SOAP::Lite -> proxy('http://'.HOST.'/umbraco/webservices/api/DocumentService.asmx') -> uri('http://umbraco.org/webservices -
Umbraco Map/Place datatype available to Download
My Umbraco map/place dataype that I've blogged about previously is available for download here. The datatype is distributed as an Umbraco package.Note: This is an Umbraco v4 datatype only. I may update it to support version 3 if there is the demand. Important: You will need a Google maps API key to use this datatype. The key can be obtained from this site and needs to be placed in the configuration file /umbraco/plugins/FergusonMoriyama/place/place.config.There are a couple of known issues, which I believe are issues with Canvas, but I'm happy to be corrected if wrong. First, the first time you click on a map location to edit - in IE only - the map doesn't render, subsequent edits work fine. The second issue is that if you edit one map -
Workflow for Umbraco and drag and drop event programming
I've created a screencast of my Workflow for Umbraco package. I've subtitled this blog post drag and drop event programming as the package allows you to do exactly that - this is probably more of a draw to Umbraco developers out there. By using workflow you can visualise what happens when events fire, easily disable and enable event handlers and break up eventing code into small, manageable and re-usable chunks. Workflow for Umbraco allows you to author custom workflows using a drag and drop UI. You can have users manually push content, media etc to workflows - or you can setup you workflows to instantiate upon API events. Workflow attachments are CMS Nodes so workflows can run against documents, media -
A runtime for Umbraco - Part 4
", authKey}, {"Json", JsonConvert.SerializeObject(model)}, {"Action", action.ToString().ToLower()} }; Logger.Info("Sending to API: " + url