<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>PORTAのPHPサンプル数種。 へのコメント</title>
	<atom:link href="http://penguinlab.jp/blog/post/190/feed" rel="self" type="application/rss+xml" />
	<link>http://penguinlab.jp/blog/post/190</link>
	<description>labochoの日々のアウトプット</description>
	<lastBuildDate>Sat, 04 Feb 2012 15:34:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>7月のPORTAリニューアルについて &#8211; 情報と音楽 より</title>
		<link>http://penguinlab.jp/blog/post/190/comment-page-1#comment-344</link>
		<dc:creator>7月のPORTAリニューアルについて &#8211; 情報と音楽</dc:creator>
		<pubDate>Tue, 27 Oct 2009 10:08:07 +0000</pubDate>
		<guid isPermaLink="false">http://penguinlab.jp/blog/?p=381#comment-344</guid>
		<description>[...] SRWのリクエストをREST(URLによるリクエスト)にしたSRUに対応した。SRWはSOAPを使うため、何かとめんどくさいが、SRUはURLに検索式を埋め込むので非常に楽。また検索式もCQL1.2に対応することで、検索クエリ中に並べ替えを指定することができるようになった。前の記事にいただいたコメントにもあるようにSRW/CQL1.1のsortKeysによる並べ替えは現時点でも実装されていないが、このCQL1.2による並べ替えはちゃんと実装されている。 title = library でNDL蔵書目録を検索(タイトル昇順) http://api.porta.ndl.go.jp/servicedp/SRUDp?operation=searchRetrive&amp;maximumRecords=10&amp;recordSchema=dcndl_porta&amp;query=title+%3D+library+AND+dpid+%3D+zomoku+AND+sortBy+%3D%22title%2Fsort.ascending%22 [...]</description>
		<content:encoded><![CDATA[<p>[...] SRWのリクエストをREST(URLによるリクエスト)にしたSRUに対応した。SRWはSOAPを使うため、何かとめんどくさいが、SRUはURLに検索式を埋め込むので非常に楽。また検索式もCQL1.2に対応することで、検索クエリ中に並べ替えを指定することができるようになった。前の記事にいただいたコメントにもあるようにSRW/CQL1.1のsortKeysによる並べ替えは現時点でも実装されていないが、このCQL1.2による並べ替えはちゃんと実装されている。 title = library でNDL蔵書目録を検索(タイトル昇順) <a href="http://api.porta.ndl.go.jp/servicedp/SRUDp?operation=searchRetrive&#038;maximumRecords=10&#038;recordSchema=dcndl_porta&#038;query=title+%3D+library+AND+dpid+%3D+zomoku+AND+sortBy+%3D%22title%2Fsort.ascending%22" rel="nofollow" onclick="pageTracker._trackPageview('/outgoing/api.porta.ndl.go.jp/servicedp/SRUDp?operation=searchRetrive_038_maximumRecords=10_038_recordSchema=dcndl_porta_038_query=title+_3D+library+AND+dpid+_3D+zomoku+AND+sortBy+_3D_22title_2Fsort.ascending_22&amp;referer=');">http://api.porta.ndl.go.jp/servicedp/SRUDp?operation=searchRetrive&#038;maximumRecords=10&#038;recordSchema=dcndl_porta&#038;query=title+%3D+library+AND+dpid+%3D+zomoku+AND+sortBy+%3D%22title%2Fsort.ascending%22</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Masa より</title>
		<link>http://penguinlab.jp/blog/post/190/comment-page-1#comment-204</link>
		<dc:creator>Masa</dc:creator>
		<pubDate>Sun, 16 Aug 2009 10:17:15 +0000</pubDate>
		<guid isPermaLink="false">http://penguinlab.jp/blog/?p=381#comment-204</guid>
		<description>こんにちわ、はじめまして。貴重な情報、ありがとうございます。

「スキーマ:dcndl_porta パッキング:xml 名前空間付きの要素名を置換」を基に
ISBNコードから書籍情報を取得してDBに入れるスクリプトを作成しました。
問題なく動作はするのですがPORTAからデータの取得まで5秒〜30秒ほどかかってしまいます。

サーバーの応答速度の問題だとは思いますが、リクエストを変更するなどの方法で
改善する方法はあるのでしょうか。</description>
		<content:encoded><![CDATA[<p>こんにちわ、はじめまして。貴重な情報、ありがとうございます。</p>
<p>「スキーマ:dcndl_porta パッキング:xml 名前空間付きの要素名を置換」を基に<br />
ISBNコードから書籍情報を取得してDBに入れるスクリプトを作成しました。<br />
問題なく動作はするのですがPORTAからデータの取得まで5秒〜30秒ほどかかってしまいます。</p>
<p>サーバーの応答速度の問題だとは思いますが、リクエストを変更するなどの方法で<br />
改善する方法はあるのでしょうか。</p>
]]></content:encoded>
	</item>
	<item>
		<title>Cloud より</title>
		<link>http://penguinlab.jp/blog/post/190/comment-page-1#comment-139</link>
		<dc:creator>Cloud</dc:creator>
		<pubDate>Fri, 30 Jan 2009 03:18:08 +0000</pubDate>
		<guid isPermaLink="false">http://penguinlab.jp/blog/?p=381#comment-139</guid>
		<description>お返事ありがとうございます。
私だけではないと分かったので、思い切って
PORTAのページから直接問い合わせてみました。
即返事が来て正常に動作しないことを確認したので
対応していただけるとのことでした。
しばらく待てばいいようですね。</description>
		<content:encoded><![CDATA[<p>お返事ありがとうございます。<br />
私だけではないと分かったので、思い切って<br />
PORTAのページから直接問い合わせてみました。<br />
即返事が来て正常に動作しないことを確認したので<br />
対応していただけるとのことでした。<br />
しばらく待てばいいようですね。</p>
]]></content:encoded>
	</item>
	<item>
		<title>ラボ長 より</title>
		<link>http://penguinlab.jp/blog/post/190/comment-page-1#comment-138</link>
		<dc:creator>ラボ長</dc:creator>
		<pubDate>Thu, 29 Jan 2009 14:16:30 +0000</pubDate>
		<guid isPermaLink="false">http://penguinlab.jp/blog/?p=381#comment-138</guid>
		<description>Cloudさん、はじめまして。
たしかにsortKeysを指定してもソートできないですね。私もいろいろ試してみましたが、まだできてません。
ちょっと今後も調べてみます。</description>
		<content:encoded><![CDATA[<p>Cloudさん、はじめまして。<br />
たしかにsortKeysを指定してもソートできないですね。私もいろいろ試してみましたが、まだできてません。<br />
ちょっと今後も調べてみます。</p>
]]></content:encoded>
	</item>
	<item>
		<title>Cloud より</title>
		<link>http://penguinlab.jp/blog/post/190/comment-page-1#comment-137</link>
		<dc:creator>Cloud</dc:creator>
		<pubDate>Wed, 28 Jan 2009 07:53:26 +0000</pubDate>
		<guid isPermaLink="false">http://penguinlab.jp/blog/?p=381#comment-137</guid>
		<description>ラボ長さま、初めまして。サンプルありがとうございます！
おかげで「SOAPって何？」な自分でも無事XMLを
取得できました。
ただ、「$req = array(&#039;version&#039;...);」に&#039;&#039;sortKeys&#039; =&gt; &#039;title,,0&#039;
と追加してソートをしようとしているんですが
どうやっても出力順が変わりません。
さくさくとソートができればぐっと実用的になると思うんですが・・
ラボ長さまはソートできていますか？</description>
		<content:encoded><![CDATA[<p>ラボ長さま、初めまして。サンプルありがとうございます！<br />
おかげで「SOAPって何？」な自分でも無事XMLを<br />
取得できました。<br />
ただ、「$req = array(&#8216;version&#8217;&#8230;);」に&#8221;sortKeys&#8217; => &#8216;title,,0&#8242;<br />
と追加してソートをしようとしているんですが<br />
どうやっても出力順が変わりません。<br />
さくさくとソートができればぐっと実用的になると思うんですが・・<br />
ラボ長さまはソートできていますか？</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)

Served from: penguinlab.jp @ 2012-05-19 20:29:44 -->
