1
我正在使用curl訪問谷歌分析數據。無法訪問使用simplexml或xmldom的谷歌分析響應xml的XML條目
其響應文本包含如下內容。
<entry gd:etag='W/"A0EEQX47eSp7I2A9WhZSFU8."' gd:kind='analytics#datarow'>
<id>http://www.google.com/analytics/feeds/data?ids=ga:176&ga:pagePath=/indian-language-unicode-converter/punjabi-unicode-converter.html&start-date=2011-03-01&end-date=2011-03-31</id>
<updated>2011-03-30T17:00:00.001-07:00</updated>
<title>ga:pagePath=/indian-language-unicode-converter/punjabi-unicode-converter.html</title>
<link rel='alternate' type='text/html' href='http://www.google.com/analytics'/>
<dxp:dimension name='ga:pagePath' value='/indian-language-unicode-converter/punjabi-unicode-converter.html'/>
<dxp:metric confidenceInterval='0.0' name='ga:pageviews' type='integer' value='1131'/>
</entry>
<entry gd:etag='W/"A0EEQX47eSp7I2A9WhZSFU8."' gd:kind='analytics#datarow'>
<id>http://www.google.com/analytics/feeds/data?ids=ga:76&ga:pagePath=/indian-language-unicode-converter/hindi-unicode-converter.html&start-date=2011-03-01&end-date=2011-03-31</id>
<updated>2011-03-30T17:00:00.001-07:00</updated>
<title>ga:pagePath=/indian-language-unicode-converter/hindi-unicode-converter.html</title>
<link rel='alternate' type='text/html' href='http://www.google.com/analytics'/>
<dxp:dimension name='ga:pagePath' value='/indian-language-unicode-converter/hindi-unicode-converter.html'/>
<dxp:metric confidenceInterval='0.0' name='ga:pageviews' type='integer' value='974'/>
</entry>
在上述
我要訪問的< DXP:維和< DXP:公制
我嘗試使用SimpleXML和phpdomxml使用getglementsbytagname但還是我不能達到該節點。
如果有人能與那麼這將是很好..只是邏輯幫助我..
再說這是什麼符號在XML DXP:尺寸?