|
Thursday, 29 October 2009 20:43 |
|
I've been doing a lot of reading lately about Joomla! and I've been tweaking this site (and the BlackBerry Development Fundamentals site as well). I haven't been getting very good traction with the search engines, so I installed a Search Engine Friendly module tonight. Everything seems to be working OK, but I still need to learn some things about this system. The issue for you is that any links you've bookmarked into the site may no longer work (I'm not sure). You'll need to grab new ones (until I can firgure out how to setup aliases). |
|
|
Monday, 26 October 2009 08:43 |
|
One of the most interesting things I learned while I was writing the book was how to enable JavaScript programmatically within the BlackBerry browser. As RIM reviewed the chapters, several people commented on how, even if JavaScript was turned off in the browser, it could be enabled programmatically. I searched and searched for information about how to do this, but couldn't find anything until I finally begged someone from RIM to explain to me how to do it. Here's how it's done:
In the NoScript section of an HTML page, put in some JavaScript. It doesn't have to be script that does anything, it just has to be JavaScript. When the browser encounters the JavaScript, it sees that it's disabled and prompts the user to enable it.
Here's a sample web page that enables this:
<!DOCTYPE html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>JavaScript Test</TITLE>
</HEAD>
</HEAD>
<BODY>
<h1>JavaScript Test</h1>
<SCRIPT type="text/javascript">
document.write("JavaScript is enabled!")
</SCRIPT>
<NOSCRIPT>
JavaScript is disabled!<br />
Please <A href="javascript:void()">click here</A> to enable JavaScript.
</NOSCRIPT>
</BODY>
</HTML>
What's interesting about how this works is that MDS will normally process the HTML page and remove any content not supported by the browser - it doesn't make any sense to send anything to the browser that the browser won't recognize. So, it the HTTP Accepts header indicates that JavaScript is not enabled, then MDS will remove all of the JavaScript code from the page. Since JavaScript isn't expected to be in the <NoScript> area of the page, MDS ignores it and delivers that script to the browser. When the link is clicked, the browser performs its check and prompts the user to enable JavaScript.
Pretty cool, right? |
|
Thursday, 22 October 2009 07:11 |
|
I came across this URL a while ago and thought I'd share it with all of you. So many times you're looking for documentation on RIM's web site and you have to hunt around to find what you're looking for. When looking for a particular server document (this is for the BES, not the development tools) I usually used search and drilled down from there. Well, there's a very useful URL every admin should have - it's www.blackberry.com/go/serverdocs .
At this URL is a very organized summary of all server documentation categories as shown below. The most useful part of this for me has always been to pick one of the BES platforms - that page that appears next shows the most recent versions of the BES docs for the selected platform and has a drop-down list containing all versions. You can then make a selection from the drop-down and see every doc related to the selected version. This is very useful when you have to support multiple BES versions (like I know my friends at Vox Mobile do every day) and want to find the right doc right away.
Enjoy the tip!

|
|
Tuesday, 20 October 2009 20:29 |
|
Have you ever wanted an easy way to see what HTTP Header and CGI variables were available to a Domino Wev Server? I know much of what's available is documented, but when I started learning about BlackBerry web development, I wanted a way to be able to see in real-time what the Domino server knew about the BlackBerry device connecting to it. To help me figure this out, I created a little sample Domino database that dumped a bunch of information the Domino Server knows about a User-Agent (the browser) back to the browser screen making the request.
Here's a sample screen shot from a BlackBerry device illustrating what the application looks like:

I just posted an article about the application and the Domino database to my BlackBerry Development Fundamentals site. Check it out when you get a chance (only if you're interested of course).
There's a piece of the application that shows what JavaScript information is available to the BlackBerry Browser - I noticed while I was working on the book that it isn't working on BlackBerry Device Software 4.6 and higher - sorry, but I haven't gotten around to fixing it yet. |
|
Monday, 19 October 2009 12:05 |
|
Continuing with my current theme of writing about internet scams, another one made its way into my inbox this afternoon. Technically it's not necessarily a scam, they may actually offer the service, but it's an unsolicited email (and currently against US law, right?) that an uninitiated person would read and say 'holy crikey, I'd better send this in...'
The subject of the email was: "Domain Notification: JOHN WARGO This is your Final Notice of Domain Listing" - something that will make its reader think that they've missed some sort of deadline and are about to lose something. If you look at the email (that's the entire email body shown below) they certainly made a big effort to make it look professional and authoritative. If you printed it, it would look just like a business form, lending it even more credibility. When you start to read it, it's clear that it's a soliciation, but I'm not sure many people would read it. It's deliberately designed to deceive the reader but they're doing it, so it must be having some sort of success.

For the record, soccerrefs.org is a site I've owned for it seems like forever. I built a Domino-based referee schedule management system and had it running for many years on this site. Even through I'm long retired as a Soccer Official, I recently setup a Soccer Referee forum on the site using phpbb , an open source bulletin board system. As soon as I get some time, I'm going to probably move it to vBulletin and do some advertising to generate some traffic and see what I can make with it. |
|
|
|
|
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>
|
|
Page 10 of 20 |