Social

Search Results

A web poll is a useful way of gathering opinions from your site users. It is also one of the most trivial pieces of web functionality that you could write.A friend who is a java developer and has never really used .net or Umbraco wanted to see a real world example, so I put this together for him real quick (he was impressed).http://darren-fergusoncom.site.securepod.com/development/polldemo.aspxI’ll look at releasing a package at some point. It is implemented as a Macro that takes a question and a delimited set of answers as parameters.

from this document it happily
saves these characters to the repository anyway - as question
marks.I want to import an image into your CMS - this requires a java
applet. (In fact any java applets for any purpose = bad IMHO)I've entered a summary

Help! I'm stuck on a demo for a client who wants a mobile content distribution platform. I've created a phone capabilities object that can resize images according to the screen size of a phone and I can create a WAP push message to the phone.
The problem I have is the response from the WAP push URL.
I found the following sample PHP code:
header("Content-type: application/vnd.oma.drm.message; boundary=boundary-1");
print("--boundary-1\n");
print("Content-type: audio/midi\n");
print("Content-Transfer-Encoding: binary\n");
print("\n");
fpassthru(fopen("test.mid", "rb"));
print("\n--boundary-1--\n");
And the following in java
response.setHeader("Content-Type","application/vnd.oma.drm.message; boundary=foo");
sout.println

CMS could be an ASP.NET web application and your runtime could be Java, PHP or whatever you wished.
Umbraco
You may know that I work with Umbraco a lot – and I’ve started to apply some of these concepts to Umbraco.
Upon publish we can serialise

be more useful than the standard message you get via the GUI. 6. Trap errors with Perl evalAs Java uses try/catch blocks Perl uses eval.Consider the following Perl:my $x = 10;
my $y = $x/0;
print "value of y is $y\n but this will never get printed