Well, I’ve decided to give this one away in the title, since the good folks over at ChalkGaming helped me out quite a bit while consulting with a big client who wanted to integrate Sports Stats into their Online Newspaper properties.
One possible solution would be to scrape the required data directly from each of the Big Leagues’ own website:
The problem with this of course, is that each site has a very different format (many custom parsers required to get and present the data) and vastly differing licensing terms (some allow data reuse and even encourage caching rather than straining their site, such as MLB). However, most don’t allow reproduction of their site in any form; meaning most would probably not allow scraping or caching sports stats and other data from their server onto your own server, so you could at best display the content in an iframe and be extremely limited in terms of display options for the end-user.
One of the secondary goals of my MobileTV project has always been to be able to provide all XMLTV users a venue to easily access and conveniently plan/schedule their TV viewing via the web, on a variety devices (i.e. mobiles/tablets/desktop computers).
I found that GET requests are not supported so technically the Tribune Web Service must still be following the SOAP 1.1 not SOAP 1.2 standard which specifies both GET and POST are acceptable as long as the SOAP request enveloppe is passed via URL.
Since that is not supported, you have to use POST and it also has to have the BASIC authentication information included in the header in the exact pattern:
Read the rest of this entry »
Long before the release of the W3C’s Widget specification, most modern programming languages had already (predictably) evolved a system for plugins, extensions and/or the representation of widgets.
I’ve accepted a new position at TeamSpace / TheREDspace in Halifax, NS; and, while I’m not at liberty to divulge much juicy information about my clients or their technologies, I can mention that Tiles is a great open source project on which some of their very popular (i.e. heavily trafficked) online services are currently running quite successfully.
For this new position, I’ve taken the time to brush up on my understanding of portlets and am including some useful steps here for getting started with your first Tiles project:
SHORTCUT IF YOU’RE USING MAVEN
- Point your POM to the MAVEN repository:
<dependency> <groupId>org.apache.tiles</groupId> <artifactId>tiles-extras</artifactId> <version>2.2.2</version> </dependency>
MANUAL LIBRARY LOADING
- Download project: http://tiles.apache.org/download.html
- Unzip to your project directory (or a common one if you plan to reuse it alot)
- Start a new project in your IDE or create a new directory/folder with a “libs” sub-directiory/sub- folder, or something similar
- Add the tiles-extra.jar file to your project’s BUILD Path
(depends on IDE but assuming you know how, if not right-click on the project, if you still can’t figure out, try a search engine)
After following either the Maven or Manual setup, you should be ready to go with your first Tiles project.
- Jar deployment in Netbeans – howto? (stackoverflow.com)
- Maven plugin builds but can’t execute due to java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory (stackoverflow.com)
- Struts Tiles ActionError (stackoverflow.com)
- Automated Build of RCP Artifacts with Maven Tycho – A field report (Part 1) (berndadamowicz.wordpress.com)
The official release of one of the most useful (yet hackish, and randomly pieced together from the interweb) code snippets I’ve ever made. I’m calling this useful little piece of code “JS Transformer”, since Transformers are cool again thanks to Shia LaBeouf.
KEEP IN MIND THE SAME-ORIGIN POLICY OF MOST BROWSERS… you’ll probably have to use a server-side proxy to make this more useful (i.e. proxy.php, proxy.jsp, proxy.asp, etc… a topic I’ve covered before)
BC$ = Behavior, Content, Money
The goal of the BC$ project is to raise awareness and make changes with respect to the three pillars of information freedom - Behavior (pursuit of interests and passions), Content (sharing/exchanging ideas in various formats), Money (fairness and accessibility) - bringing to light the fact that:
1. We regularly hand over our browser histories, search histories and daily online activities to companies that want our money, or, to benefit from our use of their services with lucrative ad deals or sales of personal information.
2. We create and/or consume interesting content on their services, but we aren't adequately rewarded for our creative efforts or loyalty.
3. We pay money to be connected online (and possibly also over mobile), yet we lose both time and money by allowing companies to market to us with unsolicited advertisements, irrelevant product offers and unfairly structured service pricing plans.