This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* クラスの説明文。 | |
* @class TiToDo | |
* @constructor | |
**/ | |
function TiToDo(){ | |
this.taskList = Ti.UI.createTableView({ | |
width:Ti.UI.FULL, | |
height:'auto', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
var NHKProgram; | |
NHKProgram = (function() { | |
function NHKProgram(config) { | |
this.apikey = config.apikey; | |
this.Genre = [ | |
{ | |
"id": "0000", | |
"name": "ニュース/報道(定時・総合)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "open-uri" | |
require "rubygems" | |
require "nokogiri" | |
url = "http://alfalfalfa.com/articles/114549.html" | |
page_source = open(url) | |
doc = Nokogiri::HTML.parse(page_source) | |
list = doc.xpath('//object/embed/@src').map {|node| node.text() } |
OlderNewer