Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Simon Justesen 436 posts 203 karma points
    Jun 17, 2010 @ 12:28
    Simon Justesen
    0

    Using umbraco from a mobile phone

    I have a customer who wants to operate umbraco from his pretty new HTC mobile phone. He writes news stories while he's on location, so it's crucial that he can access umbraco.. I tried setting up a test account on an umbraco installation, but he cannot access it properly (UI Glitches, probably because of th lacking Javascript-capabilities of the phone?)

    I am trying to find alternatives (tight budget):

    MetaBlog API - He can publish and edit (but as far as I remember, he cannot delete a news story?)
    A light interface utilizing the DocumentService (never done this before, is it easy to use?)

    What do you think?

    Thanks,
    Simon

  • Simon Justesen 436 posts 203 karma points
    Jun 17, 2010 @ 12:30
    Simon Justesen
    0

    Better ideas are welcome - of course :)

    / Simon

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Jun 17, 2010 @ 12:42
    Lee Kelleher
    1

    Do you know which OS is running on the device? Android or Windows Mobile/Phone 7?

    Could interface with the either the MetaWeblog API, or Windows Live Writer manifest?

    Apps already out there...

    On WM6+ ... Writer for Windows Mobile: http://wlw.codeplex.com/

    On Android ... MobiLogger: http://code.google.com/p/mobilogger/

     

    I haven't tried either of those.

    Alternatively, as you suggest, a simple bespoke (mobile-friendly) interface could be developed? (Specifically to suit your client's requirements)

    Cheers, Lee.

     

  • Thomas.R 39 posts 62 karma points
    Jun 17, 2010 @ 13:55
    Thomas.R
    0

    Maybe you could simply create a secured page where your customer could fill a form, and, using the UmbracoWS, you could update Umbraco content. DocumentService  is really easy to use but i cannot find any tutorial on the web.

  • Thomas.R 39 posts 62 karma points
    Jun 17, 2010 @ 14:10
    Thomas.R
    3

    I've wrote a short example which shows you how to edit a document using Umbraco WebService :

    UmbracoWS.documentCarrier Doc = new UmbracoWS.documentCarrier();

            List<UmbracoWS.documentProperty> DocumentProperties = new List<UmbracoWS.documentProperty>();

     

            Doc.Id = ID_OF_THE_DOCUMENT_TO_EDIT;       

            Doc.Name = ""; // let the name empty if you don't want to change it

            Doc.PublishAction = UmbracoWS.EPublishAction.Publish;       

     

            UmbracoWS.documentProperty PropertyToEdit = new UmbracoWS.documentProperty();

            PropertyToEdit.Key = "PropertyAlias";

            PropertyToEdit.PropertyValue = "My property value";      

     

            DocumentProperties.Add(PropertyToEdit);

     

            Doc.DocumentProperties = DocumentProperties.ToArray();

     

            using(UmbracoWS.documentService WebService = new UmbracoWS.documentService()){

                WebService.URL = "http://yourdomain.ext/umbraco/webservices/api/DocumentService.asmx";

                WebService.update(Doc, "username", "password");

            }

     

     

  • Simon Justesen 436 posts 203 karma points
    Jun 17, 2010 @ 23:39
    Simon Justesen
    0

    Thanks both, I think I'll try to experiment with the DocumentService :)

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Jun 18, 2010 @ 00:18
    Lee Kelleher
    0

    ... with a nice mobile interface, using jqTouch: http://jqtouch.com/

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Jun 18, 2010 @ 01:18
    Aaron Powell
    1

    Don't expect that the Umbraco backend will ever work for mobile devices. Well not until mobile devices get bigger screens and better browsers :P (no HTML5 does not mean the browser is better :P).

    To scope a requirement like this I'd first work out:

    • Does the author need to be able to write disconnected (IE - no internet connection at all)
    • How many sections of the content tree do they need to be able to publish to
    • How much of the publish life cycle should be managable from a mobile device
    Ultimately a secured form somewhere will probably be the best go (as others have suggested).

Please Sign in or register to post replies

Write your reply to:

Draft