*** akozak has quit IRC | 00:10 | |
*** haoyu has joined #cc | 00:11 | |
*** nathany has quit IRC | 00:12 | |
*** Bovinity has quit IRC | 00:31 | |
*** Orango has quit IRC | 00:43 | |
*** Orango has joined #cc | 00:46 | |
*** stevel_ has joined #cc | 00:50 | |
*** stevel has quit IRC | 00:52 | |
*** stevel_ has quit IRC | 00:54 | |
*** balleyne has quit IRC | 01:00 | |
*** SimulianT has quit IRC | 01:03 | |
*** jgay has joined #cc | 01:17 | |
*** JoiIto has quit IRC | 01:25 | |
*** jgay has quit IRC | 01:29 | |
*** mlinksva has quit IRC | 01:37 | |
*** stevel has joined #cc | 01:45 | |
*** thomg has joined #cc | 01:45 | |
*** bhy_ has joined #cc | 01:59 | |
*** pyrak has quit IRC | 02:12 | |
*** jgay has joined #cc | 03:06 | |
*** jgay has quit IRC | 03:08 | |
*** codergeek42 has joined #cc | 03:11 | |
*** nkinkade has quit IRC | 03:34 | |
*** jgay has joined #cc | 03:50 | |
*** JED3 has joined #cc | 04:27 | |
*** bhy_ has quit IRC | 04:52 | |
*** markdarb has joined #cc | 04:55 | |
*** markdarb has left #cc | 04:56 | |
*** codergeek42 has quit IRC | 05:05 | |
*** nb_ has quit IRC | 05:06 | |
*** nb_ has joined #cc | 05:06 | |
*** JoiIto has joined #cc | 05:12 | |
*** codergeek42 has joined #cc | 05:46 | |
*** codergeek42 has quit IRC | 05:49 | |
*** jgay has quit IRC | 05:54 | |
*** JED3 has quit IRC | 05:56 | |
*** bhy_ has joined #cc | 06:11 | |
*** JED3 has joined #cc | 06:22 | |
*** bhy_ has quit IRC | 06:47 | |
*** michi_ has joined #cc | 06:52 | |
*** sama has joined #cc | 07:11 | |
*** pyrak has joined #cc | 07:14 | |
*** JED3 has quit IRC | 07:25 | |
*** stevel has quit IRC | 07:30 | |
*** freer_ has quit IRC | 07:31 | |
*** freer_ has joined #cc | 07:31 | |
*** bhy_ has joined #cc | 07:33 | |
*** CharelB has quit IRC | 08:00 | |
*** pyrak has quit IRC | 08:15 | |
*** Orango has quit IRC | 08:26 | |
*** papyromancer has quit IRC | 08:44 | |
*** SimulianT has joined #cc | 08:49 | |
*** JoiIto has quit IRC | 08:56 | |
*** SimulianT has quit IRC | 10:05 | |
*** SimulianT has joined #cc | 10:08 | |
*** SimulianT has quit IRC | 10:13 | |
*** SimulianT has joined #cc | 10:13 | |
*** SimulianT has quit IRC | 10:48 | |
*** SimulianT has joined #cc | 10:49 | |
*** papyromancer has joined #cc | 11:09 | |
*** JoiIto has joined #cc | 11:14 | |
*** bhy_ has quit IRC | 11:29 | |
*** tvol has joined #cc | 11:32 | |
*** bhy_ has joined #cc | 11:54 | |
*** tvol has quit IRC | 11:56 | |
*** Odd_Bloke has quit IRC | 12:19 | |
*** ianweller has quit IRC | 12:19 | |
*** Odd_Bloke has joined #cc | 12:19 | |
*** ianweller has joined #cc | 12:20 | |
*** bhy_ has quit IRC | 12:24 | |
*** michi_ has quit IRC | 12:24 | |
*** ianweller has quit IRC | 12:24 | |
*** SimulianT has quit IRC | 12:24 | |
*** haoyu has quit IRC | 12:24 | |
*** TDJACR has quit IRC | 12:24 | |
*** ianweller has joined #cc | 12:25 | |
*** SimulianT has joined #cc | 12:25 | |
*** michi_ has joined #cc | 12:25 | |
*** haoyu has joined #cc | 12:25 | |
*** TDJACR has joined #cc | 12:25 | |
*** nb_ has quit IRC | 12:27 | |
*** robmyers has quit IRC | 12:27 | |
*** paulproteus has quit IRC | 12:27 | |
*** greg-g has quit IRC | 12:27 | |
*** nb has quit IRC | 12:28 | |
*** nb has joined #cc | 12:28 | |
*** robmyers has joined #cc | 12:28 | |
*** greg-g has joined #cc | 12:28 | |
*** paulproteus has joined #cc | 12:28 | |
*** paroneayea has quit IRC | 12:28 | |
*** lotia has quit IRC | 12:28 | |
*** papyromancer has quit IRC | 12:29 | |
*** dergringo has quit IRC | 12:29 | |
*** paroneayea has joined #cc | 12:29 | |
*** lotia has joined #cc | 12:29 | |
*** papyromancer has joined #cc | 12:29 | |
*** dergringo has joined #cc | 12:29 | |
*** nb_ has joined #cc | 12:31 | |
*** tvol has joined #cc | 12:34 | |
*** tvol_ has joined #cc | 12:34 | |
*** tvol has quit IRC | 12:34 | |
*** JoiIto has quit IRC | 12:37 | |
*** JoiIto has joined #cc | 12:40 | |
*** JoiIto has quit IRC | 13:09 | |
*** JoiIto has joined #cc | 13:46 | |
*** bhy_ has joined #cc | 13:49 | |
*** JoiIto has quit IRC | 13:49 | |
*** JoiIto has joined #cc | 13:58 | |
*** bhy_ has quit IRC | 14:00 | |
*** oshani has joined #cc | 14:01 | |
*** gimmulf has joined #cc | 14:08 | |
paroneayea | dang | 14:13 |
---|---|---|
paroneayea | looks like there's no buildout option to surpress the header, and that functionality is hardcoded in | 14:14 |
paroneayea | monkeypatching time? | 14:14 |
paroneayea | also, hello | 14:16 |
* greg-g waves | 14:19 | |
*** kreynen has joined #cc | 14:33 | |
*** oshani has quit IRC | 14:36 | |
*** oshani has joined #cc | 14:42 | |
*** nkinkade has joined #cc | 14:42 | |
*** olxman has joined #cc | 14:53 | |
*** olxman has left #cc | 14:53 | |
*** nathany has joined #cc | 14:55 | |
*** kreynen has quit IRC | 14:57 | |
*** oshani has quit IRC | 15:03 | |
*** andi___ has joined #cc | 15:06 | |
*** sama has quit IRC | 15:06 | |
*** kreynen has joined #cc | 15:11 | |
*** SimulianT has quit IRC | 15:17 | |
*** JoiIto has quit IRC | 15:20 | |
*** stevel has joined #cc | 15:28 | |
paulproteus | Hello papyromancer, all! | 15:41 |
papyromancer | Hey paulproteus :) How ya been? | 15:47 |
paroneayea | it's quiet in here today. | 15:54 |
*** JoiIto has joined #cc | 15:56 | |
*** oshani has joined #cc | 15:59 | |
*** JoiIto has quit IRC | 15:59 | |
*** sama has joined #cc | 16:05 | |
*** mecredis has joined #cc | 16:23 | |
*** unnikrishnan1 has joined #cc | 16:24 | |
unnikrishnan1 | :) | 16:24 |
*** haoyu has quit IRC | 16:28 | |
*** oshani has quit IRC | 16:31 | |
*** akozak has joined #cc | 16:31 | |
*** Bovinity has joined #cc | 16:33 | |
*** unnikrishnan1 has left #cc | 16:45 | |
nkinkade | nathany: Bovinity: Do either of you know if we are using our PayPal API certificate for anything? | 16:49 |
nathany | nkinkade: uh, no, I don't know | 16:49 |
nkinkade | That's probably a no, then. | 16:49 |
Bovinity | no idea | 16:50 |
nkinkade | It would only be for CiviCRM, I would be, and we're not using it there. | 16:50 |
nkinkade | I want to create a user/pass/key setup, but you can only have one or the other, and to do the user/pass setup implies removing our certificate. | 16:50 |
*** balleyne has joined #cc | 16:54 | |
*** oshani has joined #cc | 17:16 | |
Bovinity | mecredis: nkinkade: I notice we took out the Tynt tracer, was it a failure? (i did find it a little annoying while copy/pasting things) | 17:16 |
nkinkade | Bovinity: I took it out. There was a thread that I think you were on (via webmaster@). | 17:18 |
akozak | ohhh, are you supposed to use screen AFTER you ssh? | 17:18 |
akozak | that explains a lot | 17:18 |
nkinkade | haha | 17:18 |
akozak | would have saved me 8 hours of watching discovered aggregate for a second time | 17:18 |
akozak | haha, that was so dumb. i got to work and tried to reattach my screen. | 17:20 |
akozak | o shi- | 17:20 |
Bovinity | argh, dang WP widget things | 17:36 |
*** Orango has joined #cc | 17:38 | |
Bovinity | mecredis: the version of collapsible archives on production has much more attractive +/- icons. | 17:41 |
*** mlinksva has joined #cc | 17:45 | |
*** jgay has joined #cc | 17:45 | |
*** SimulianT has joined #cc | 17:49 | |
*** andi___ has quit IRC | 17:57 | |
*** tvol_ has quit IRC | 18:04 | |
*** Roderick_ has quit IRC | 18:04 | |
*** [mharrison] has quit IRC | 18:04 | |
*** tvol_ has joined #cc | 18:04 | |
*** Roderick_ has joined #cc | 18:04 | |
*** [mharrison] has joined #cc | 18:04 | |
*** thomg has quit IRC | 18:05 | |
*** JonathanD has quit IRC | 18:05 | |
*** JonathanD has joined #cc | 18:05 | |
*** thomg has joined #cc | 18:07 | |
*** Danny_B has quit IRC | 18:13 | |
*** Danny_B has joined #cc | 18:14 | |
mecredis | Bovinity: indeed, those are famfamfamf | 18:14 |
Bovinity | i think i've figured out the 0 problem | 18:15 |
mecredis | what was it? | 18:15 |
Bovinity | partially a plugin problem; and partially a WP problem - some international pages had no timestamp | 18:16 |
Bovinity | the plugin is pulling in all posts, not posts in the weblog category | 18:16 |
Bovinity | not just posts, i mean | 18:16 |
mecredis | ah | 18:16 |
Bovinity | k, 0 is gone now, after i fixed their timestamps | 18:16 |
mecredis | found another bug | 18:17 |
mecredis | the top month | 18:17 |
mecredis | december doesn't come down until later | 18:17 |
akozak | Bovinity: minor bug on CC front page, when I click on license the div gets a scrollbar | 18:20 |
akozak | the ccTools div | 18:20 |
Bovinity | huh, odd | 18:21 |
*** pyrak has joined #cc | 18:22 | |
mecredis | Bovinity: was there ever anyt hougth about putting the archives & tags on single post pages? | 18:25 |
mecredis | which is how people click through from RSS, twitter | 18:26 |
Bovinity | mecredis: find me examples of other blogs that implement that well? | 18:27 |
mecredis | Bovinity: good question | 18:27 |
Bovinity | we haven't looked at conversions from blog posts to other parts of ccorg | 18:27 |
mecredis | yeah, it may not matter that much | 18:28 |
mecredis | I guess the tags are on the individual pages | 18:28 |
Bovinity | ideally we'll see decent traffic in the /tags/ directory | 18:29 |
mecredis | that'd be nice | 18:29 |
Bovinity | mecredis: the december issue was due to the transition. i changed it to a fader effect. fixed. | 18:31 |
mecredis | thanks | 18:31 |
mecredis | yay | 18:33 |
mecredis | http://creativecommons.org/weblog/entry/16734 | 18:33 |
akozak | right on | 18:36 |
mecredis | Bovinity: can I RT yours from @creativecommons? | 18:38 |
Bovinity | mecredis: sure | 18:38 |
Bovinity | twttr is very random about what urls it'll auto-shorten | 18:39 |
mecredis | yeah, I can't stand it | 18:39 |
mecredis | oh and thanks for fixing my "typo" | 18:40 |
mecredis | I wrote that quickly with the intention of rewriting the headline | 18:40 |
Bovinity | heh | 18:40 |
Bovinity | i half thoght you were going for "ya rly" | 18:40 |
mecredis | I was | 18:41 |
mecredis | :) / :( | 18:41 |
Bovinity | :P | 18:41 |
akozak | haha | 18:41 |
Bovinity | the lack of an O RLY setup made it fail though | 18:41 |
mecredis | indeed, I hadn't had my caffeine yet | 18:41 |
Bovinity | need some cc licensed owl related news... | 18:42 |
akozak | this just in, cc by-sa wikipedia page on owls updated | 18:42 |
*** sama has quit IRC | 18:44 | |
*** JonathanD has quit IRC | 18:45 | |
*** JonathanD has joined #cc | 18:46 | |
*** SimulianT has quit IRC | 18:51 | |
*** SimulianT has joined #cc | 18:51 | |
akozak | mecredis: when you get a chance could you send me the script you used to export a smw category to rdf? | 18:51 |
mecredis | akozak: let me dig it up | 18:51 |
akozak | awesome, thanks | 18:52 |
mecredis | are you using PHP , etc? | 18:53 |
mecredis | akozak: | 18:54 |
akozak | I haven't tried to write anything yet... | 18:55 |
mecredis | k | 18:55 |
mecredis | I'm using an RDF/php processor | 18:55 |
mecredis | called ARC2 | 18:55 |
mecredis | its really straight forward, I'll email you deets | 18:55 |
akozak | ok cool | 18:56 |
mecredis | let me know if that doesn't make any sense | 18:57 |
akozak | it actually seems like it would be sort of easy to add in the cat. export feature to some of the maintenance scripts, but I'm not sure how to do it. | 18:58 |
mecredis | yeah, I'm doing it using this parser | 18:58 |
mecredis | that basically turns the RDF into queryable objects, etc. | 18:58 |
mecredis | which is nice | 18:58 |
*** thomg has quit IRC | 18:58 | |
akozak | hmmm, | 19:00 |
akozak | how come your export/category:causes includes pages in that category, and mine doesn't... | 19:01 |
mecredis | gimme the link | 19:01 |
akozak | http://opened.creativecommons.org/Special:ExportRDF/Category:Organization | 19:01 |
mecredis | yeah, nada | 19:01 |
mecredis | one sec | 19:01 |
mecredis | wow and you got a lot in thre | 19:02 |
mecredis | http://opened.creativecommons.org/Category:Organization | 19:02 |
akozak | yea | 19:02 |
mecredis | let me figure this out | 19:02 |
mecredis | one sec | 19:02 |
akozak | well, you don't have to. | 19:03 |
mecredis | there may be some weird memory limit you're hitting | 19:03 |
akozak | oh yea | 19:03 |
mecredis | SMW doesn't like big queries | 19:03 |
mecredis | and puts an artifical limit on queries | 19:03 |
mecredis | this could be triggering that | 19:03 |
akozak | ok, let me try raising the limit | 19:03 |
mecredis | well you have 1k orgs in there | 19:04 |
mecredis | try creatin ganother category | 19:04 |
mecredis | with a couple items | 19:04 |
mecredis | and see if Special Export RDF works there | 19:04 |
akozak | http://opened.creativecommons.org/Special:ExportRDF/Category:Event | 19:05 |
akozak | no dice | 19:05 |
akozak | there are only 61 events | 19:05 |
mecredis | yeah, 61 shouldn't be an issue | 19:05 |
mecredis | hrmmmmmmmmm | 19:05 |
mecredis | I feel like there is a setting somewhere | 19:05 |
akozak | I'm gonna see if I can do a while-site export | 19:06 |
akozak | whole* | 19:06 |
akozak | with the maintenance script | 19:07 |
mecredis | hrm this is interesting | 19:07 |
mecredis | http://semantic-mediawiki.org/wiki/Help:RDF_export#Categories | 19:07 |
akozak | yea, the way that RDF in general interacts with "semantic" mediawiki is really interesting | 19:07 |
akozak | its not a 1:1 | 19:08 |
mecredis | yeah | 19:08 |
mecredis | see this is werid | 19:08 |
mecredis | http://semantic-mediawiki.org/wiki/Special:ExportRDF/Category:Semantic_MediaWiki_documentation | 19:08 |
mecredis | that works | 19:08 |
mecredis | looks like someone else might have this issue | 19:09 |
mecredis | http://www.nabble.com/HELP-td24459769.html | 19:09 |
akozak | heh | 19:10 |
akozak | doesn't work on the cc wiki | 19:10 |
akozak | http://wiki.creativecommons.org/Special:ExportRDF/Category:Casestudy | 19:10 |
akozak | probably a config thing | 19:10 |
mecredis | yeah this is werid | 19:10 |
mecredis | whats weird is this works | 19:11 |
mecredis | http://opened.creativecommons.org/Special:ExportRDF/4th_EduMedia_Conference_2008 | 19:11 |
akozak | yea pages work fine | 19:11 |
akozak | I've added it to their template even | 19:11 |
mecredis | yeah | 19:11 |
mecredis | sounds like a config thing | 19:11 |
mecredis | have you tried asking a support group /etc? | 19:11 |
akozak | hah, yea sort of. I asked how I could export a category, thinking it was impossible with this setup, but maybe our config was just messed up. | 19:12 |
mecredis | it feels like there's some flag | 19:12 |
mecredis | that's set the wrong way | 19:13 |
akozak | yea | 19:13 |
akozak | could also be the order the includes are in localsettings? | 19:14 |
mecredis | hrmm | 19:14 |
mecredis | but you'd expect all of ExportRDF to be broken then | 19:14 |
mecredis | is all you want a list of the orgs in there? | 19:15 |
mecredis | have you considered using http://opened.creativecommons.org/Special:Ask and just parsing the html? | 19:15 |
mecredis | http://opened.creativecommons.org/index.php?title=Special:Ask&offset=0&limit=1500&q=[[Category%3AOrganization]]&p=format%3Dbroadtable | 19:16 |
mecredis | not easily automatable | 19:16 |
akozak | Yea I mean that's possible... all I want is rdf data for all organizations in the wiki so that I can give it to Talis | 19:16 |
mecredis | but good for a one-off report | 19:16 |
akozak | but ideally I can just send them a URL to the query | 19:16 |
mecredis | so you can add print outs | 19:16 |
mecredis | like http://opened.creativecommons.org/Special:Ask?title=Special%3AAsk&q=[[Category%3AOrganization]]&po=%3FMainurl&sc=0&eq=yes | 19:17 |
akozak | hmmm | 19:17 |
mecredis | not exactly RDF | 19:17 |
mecredis | but ... | 19:17 |
akozak | another option is exporting all pages with the maint script and using something like your script to filter it | 19:18 |
mecredis | hrm, yeah it expects RDF though | 19:18 |
mecredis | but yeah | 19:18 |
akozak | yea that's what I would have | 19:18 |
mecredis | ah right | 19:18 |
mecredis | then you could probably spceify by query | 19:18 |
mecredis | yeah | 19:18 |
akozak | I just wanted to send them the dynamic version | 19:19 |
akozak | i.e. the url to the query | 19:19 |
mecredis | yo umean a link that would generate it | 19:19 |
mecredis | did they really want RDF? | 19:19 |
mecredis | seems to me Special:Ask is probably waht they want | 19:19 |
akozak | that's what he asked for | 19:19 |
mecredis | wow | 19:19 |
mecredis | Talis .. right they do do that | 19:19 |
mecredis | ok | 19:19 |
mecredis | hrm | 19:20 |
mecredis | so yeah, I'd get on the SMW list and try to figure out why Special:ExportRDF doesn't work for your wiki | 19:20 |
akozak | "I'd love to load it into a platform store and try and mash it up with some other edu-related linked data..." | 19:20 |
mecredis | on categories | 19:20 |
*** oshani has quit IRC | 19:54 | |
akozak | nkinkade: can we upgrade SMW to the newest version? | 19:58 |
akozak | I did an svn update but it still says 1.4.2 | 19:58 |
nkinkade | akozak: If it's from a subversion checkout you'll need to a 'svn switch' | 19:59 |
akozak | ah | 19:59 |
nkinkade | svn update simply pulls the latest from the remote, which is probably a tag that never changes after. | 19:59 |
akozak | Ok, currently svn gets SMW from REL_1_4_2, should I just switch it over to the main dir? | 20:01 |
akozak | svn switch http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SemanticMediaWiki/ . | 20:01 |
akozak | nkinkade: ^^ | 20:01 |
nkinkade | akozak: Do that only if you want /trunk | 20:02 |
nkinkade | You might be safe getting the version released with 1.15.1, or whatever version of MW you have. | 20:02 |
akozak | oh duh | 20:02 |
akozak | nkinkade: why wouldn't I want trunk? | 20:03 |
nkinkade | What's your motivation for upgrading? Security? Some new feature you wanted? | 20:03 |
akozak | nkinkade: Bug fix | 20:03 |
mecredis | akozak: it was a bug then? | 20:03 |
akozak | mecredis: not 100% sure, but there were other problems with the export in 1.4.2 that were fixed | 20:04 |
mecredis | fingers crossed, I guess | 20:04 |
akozak | https://bugzilla.wikimedia.org/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=export&product=MediaWiki+extensions&component=Semantic+MediaWiki&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&keywords_type=allwords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&resolut | 20:04 |
nkinkade | akozak: Install /trunk if you want. /trunk is usually the head of development, which may not always be suitable for production. | 20:04 |
akozak | ah | 20:04 |
nkinkade | And it may not always be compatible even. | 20:04 |
*** oshani has joined #cc | 20:05 | |
nkinkade | It's up you, I would just recommend backups and reading any docs about upgrading SMW. | 20:05 |
akozak | there's no undo button? :) | 20:05 |
akozak | nkinkade: 1.4.2 to 1.4.3 seems relatively safe, according to the wiki | 20:06 |
akozak | I'm just going to switch the svn from 2 to 3 | 20:07 |
akozak | hmm | 20:07 |
akozak | nkinkade: what should I be backing up | 20:09 |
nkinkade | akozak: cp -a extensions/SemanticMediaWiki extensions/SemanticMediaWiki.bak | 20:09 |
akozak | ah | 20:09 |
nkinkade | Or similar. And if a database upgrade is required then you should be backing up the database. | 20:10 |
nkinkade | mysqldump | 20:10 |
akozak | ok, no database upgrade required as far as I can tell | 20:10 |
akozak | nkinkade: everything worked :) | 20:14 |
nkinkade | Cool. | 20:14 |
mecredis | heh | 20:14 |
akozak | mecredis: problem fixed :) | 20:15 |
mecredis | really?! | 20:15 |
mecredis | that's awesome | 20:15 |
akozak | yea | 20:15 |
mecredis | I knew something was weird | 20:15 |
akozak | http://opened.creativecommons.org/Special:ExportRDF/Category:Organization | 20:15 |
mecredis | great | 20:15 |
mecredis | perfect | 20:15 |
akozak | but I just realized it's totally incomplete information :) | 20:16 |
akozak | oh well, this isn't urgent | 20:16 |
mecredis | yeah | 20:16 |
mecredis | thats where you need the script | 20:16 |
mecredis | I guess | 20:16 |
akozak | yea | 20:16 |
akozak | oh yea | 20:16 |
akozak | so now I can use that script | 20:16 |
akozak | before I couldn't have | 20:16 |
mecredis | its actually probably easier than that | 20:16 |
mecredis | since you're exporting RDF | 20:16 |
mecredis | you don't even need to parse the eventual files | 20:17 |
mecredis | so you iterate through the Category:Organization results | 20:17 |
mecredis | and then just use Special:ExportRDF for that | 20:17 |
mecredis | for each one | 20:17 |
mecredis | and dump that RDF | 20:17 |
mecredis | so I guess you need the parser initially | 20:17 |
akozak | maybe not... seems like this could be done all "in house" with php | 20:18 |
mecredis | not sure I follow | 20:18 |
akozak | well couldn't I just iterate over the list of page names back to the export function and append the resulting RDF to a results file | 20:19 |
mecredis | yeah this is true | 20:20 |
akozak | hmmm | 20:20 |
mecredis | but you really want to pull from the category | 20:20 |
mecredis | you might as well use the rdf | 20:20 |
mecredis | anything else is going to be sloppy | 20:20 |
akozak | yea | 20:20 |
akozak | that's what I mean... iterate over the RDF data dumped by the Category export | 20:20 |
mecredis | yeah | 20:20 |
mecredis | which you need the parser for | 20:20 |
akozak | ohhh | 20:20 |
mecredis | or rather I'd suggest using the paser for | 20:21 |
mecredis | heh | 20:21 |
akozak | couldnt I just treat it like a txt file and scrape it :P | 20:21 |
mecredis | like I said | 20:21 |
mecredis | sloppy | 20:21 |
akozak | haha | 20:21 |
mecredis | with the parser you get objects | 20:21 |
akozak | ok that all makes sense | 20:21 |
mecredis | ;) | 20:21 |
akozak | thanks for your help | 20:21 |
mecredis | no problem man | 20:21 |
mecredis | I've been there and back | 20:21 |
mecredis | it makes me a little nostalgic | 20:22 |
akozak | haha | 20:22 |
greg-g | nathany: is there the tech call at 4:30 today or are we still on? | 20:22 |
greg-g | erm, 1;30, whatever | 20:22 |
akozak | time for lunch now that this is done, brb | 20:22 |
nathany | greg-g: just saw that pop up on my calendar; we're still on, probably good to check in | 20:23 |
greg-g | nathany: cool (me too, btw :) ) | 20:23 |
nathany | :) | 20:23 |
greg-g | I guess that means i gotta turn down Tool :( | 20:23 |
nathany | lol | 20:24 |
nathany | well i turned off Cher ;) | 20:24 |
greg-g | LOL | 20:24 |
greg-g | awesome pairing | 20:24 |
nathany | greg-g: just IM'd you re: # | 20:25 |
*** Orango has quit IRC | 20:37 | |
*** SimulianT has quit IRC | 20:38 | |
*** SimulianT has joined #cc | 20:38 | |
*** tvol_ has quit IRC | 20:51 | |
*** kreynen has quit IRC | 21:05 | |
*** kreynen has joined #cc | 21:06 | |
mlinksva | greg-g: i just got some superb news from melissa, thx! | 21:38 |
*** jgay has quit IRC | 21:41 | |
*** TDJACR has quit IRC | 21:47 | |
*** TDJACR has joined #cc | 21:52 | |
greg-g | mlinksva: indeed! very welcome :) | 21:53 |
*** SimulianT has quit IRC | 21:53 | |
*** SimulianT has joined #cc | 21:53 | |
*** michi_ has quit IRC | 21:55 | |
akozak | mecredis: not sure what this does.. "$cause = $cause["http://www.w3.org/2000/01/rdf-schema#label"][0]["val"];" | 22:04 |
mecredis | heh | 22:04 |
mecredis | so that's pulling down the value of the cause name | 22:04 |
akozak | ah | 22:04 |
mecredis | which is "label" | 22:04 |
mecredis | and its the first item in that array | 22:04 |
mecredis | and its actually stored inside the key called val | 22:04 |
akozak | ahh ok that's what I didn't get | 22:04 |
akozak | yyyeeaaa I don't actually know php... | 22:05 |
mecredis | yeah, you can always do a var_dump($junk); | 22:05 |
mecredis | and it'll give you a readout of everything | 22:05 |
akozak | ok | 22:05 |
mecredis | its the best way to look inside objects like that | 22:05 |
pyrak | need moar array dimenshinzzzz!!!! | 22:05 |
mecredis | hahah | 22:05 |
mecredis | yeah, its a little sloppy | 22:05 |
mecredis | but SMW -> RDF -> PHP is kind of asking for trouble anyway | 22:06 |
mecredis | but its better than nothing | 22:06 |
akozak | heh | 22:06 |
akozak | heh my var_dump got 101 lines of NULL | 22:09 |
akozak | that's a start | 22:09 |
mecredis | hahah | 22:09 |
mecredis | you'll figure it out | 22:09 |
mecredis | you may need to read up on the ARC stuff | 22:09 |
mecredis | you probably have to create a triple store in a Mysql db | 22:10 |
akozak | ugh why? | 22:10 |
mecredis | thats just how the parser works | 22:10 |
mecredis | I *think* | 22:10 |
mecredis | you may also be able to do it in real time | 22:10 |
mecredis | loading it into memory | 22:10 |
mecredis | which I think is what that script is doing | 22:10 |
akozak | ps. I've never written anything from scratch before. | 22:10 |
mecredis | yooou cann do it | 22:11 |
akozak | right now I'm just trying to pipe this script into a file | 22:11 |
mecredis | though everyone at CC will hate me for encouraging you to learn php instead of python | 22:11 |
mecredis | ah well you can do that with standard unix | 22:11 |
mecredis | php script.php > file | 22:11 |
akozak | yea yea | 22:11 |
akozak | i meant i dont want to deal with database stuff | 22:11 |
mecredis | oh yeah | 22:11 |
mecredis | my guess is you can probably avoid that | 22:11 |
mecredis | though read the ARC documentation | 22:11 |
akozak | mecredis: you knew that I'm not trying to use this RDF in a page, I just want RDF data to generate, right? | 22:36 |
akozak | this script looks like it was for pulling rdf data and formatting it on a page | 22:37 |
akozak | which is easily changed I suppose | 22:37 |
mecredis | yeah, end product is RDF | 22:45 |
mecredis | which means you can just dump whatever you're getting | 22:45 |
mecredis | the trick is to ask for it in the right way | 22:45 |
mecredis | which requires the parsing | 22:45 |
mecredis | akozak: ^^ | 22:45 |
akozak | ah ok, so the parsing is formatting the title for the exportRDF page | 22:50 |
mecredis | well yeah, but you can also call specialexportrdf | 22:52 |
mecredis | once you get the title | 22:52 |
mecredis | inside that forloop | 22:52 |
mecredis | ok gotta run | 22:52 |
mecredis | good luck | 22:52 |
akozak | thanks, later | 22:52 |
*** kreynen has quit IRC | 23:08 | |
*** nathany has quit IRC | 23:19 | |
*** JoiIto has joined #cc | 23:20 | |
*** JoiIto has left #cc | 23:34 | |
*** kreynen has joined #cc | 23:48 | |
akozak | mecredis: I think 'val' should be 'value' | 23:54 |
akozak | when I changed it it worked | 23:54 |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!