Friday, November 30, 2012

html5 的manifest禁用

 

当你启用了一个这样的html5的清单缓存文件后.它errro让我处理好久

<html manifest="cache.manifest">



所以你网站有使用cache.manifest这个同地址的的网页全会被这个所缓存.


如果你想禁用它,改成这样,没有用

<html>
唯一的办法是,在服务器上删除cache.manifest文件. 让它返回404

android develop error log

 

error log:

Falling back on PROMPT mode since _cordovaNative is missing.



by:


i only add cordova-2.2.0.js file to my project source.


and need to add full cordova javascript framework. wait for me to found that.

Thursday, November 29, 2012

android:debuggable字段说明

关于android develop开发说明的android:debuggable字段说明:

android:debuggable字段说明这个字段,在高度时,编译器默认设置为true,当导出签名包时,默认设置为false.

如果判断:

try{
debugMode = (this.getPackageManager().getPackageInfo("pk17s.cn", 0).applicationInfo.flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0;
}catch(Exception e){
debugMode = false;
}


this对象为界面类,Context的基类即可.


Monday, November 26, 2012

pkrss source 之 chrome.tts试用

今天我的pkrss看到有文章说chrome有chrome.tts的接口,所以我写下以下测试source:

// http://developer.chrome.com/extensions/tts.html
var speaktts_chrome = {
'tts':null,

'support':function(){
if((typeof(chrome) != "undefined") && chrome && (typeof(chrome.tts) != "undefined") && chrome.tts )
return true;
return false;
},

'init':function(){

if(!this.support())
return;

this.tts = chrome.tts;

speaktts.tts = this;
},

'ttsList':null,
'getTTSList':function(cb){
if(!this.ttsList){
this.ttsList = [];
chrome.tts.getVoices(function(voices) {
var tts,ttslist,ttsitem;
for (var i = 0; i < voices.length; i++) {
tts = voices[i];
ttsitem = ttslist[tts.lang];
if(!ttsitem){
ttsitem = {'locale':tts.lang,'tts':[]};
speaktts_chrome.ttsList.push(ttsitem);
}
ttsitem.tts.push({"id":tts.extensionId,"name":tts.voiceName});
}
});
}else{
if(cb)
cb(this.ttsList);
}
},

'speak':function(id){
var s = pksetting.user.locale2tts[pksetting.user.locale];
if(s){
if(s!="")
s = "&tts=" + s;
}else{
s = "";
}

var info = pkrsslib.getItemById(id);

this.tts.speak(
info.title,{
'lang': 'zh-CN',
'onEvent': function(event) {
// event.type in
// 'start': The engine has started speaking the utterance.
// 'word': A word boundary was reached. Use event.charIndex to determine the current speech position.
// 'sentence': A sentence boundary was reached. Use event.charIndex to determine the current speech position.
// 'marker': An SSML marker was reached. Use event.charIndex to determine the current speech position.
// 'end': The engine has finished speaking the utterance.
// 'interrupted': This utterance was interrupted by another call to speak() or stop() and did not finish.
// 'cancelled': This utterance was queued, but then cancelled by another call to speak() or stop() and never began to speak at all.
// 'error': An engine-specific error occurred and this utterance cannot be spoken. Check event.errorMessage for details.
// event.charIndex current position
if(event.type == 'end'){
speaktts.playing = false;

if(speaktts.autonext)
pkrssspeak.speaknext();
}
}
});
},

'stop':function(){
if(this.tts.played)
this.tts.pause();
}
};



结果发现,人家只支持在chrome store package的应用程序中.


我就把它打包到我的原来的chrome包中加载我的目标网址.


结果它出现以下错误:

尝试安装此扩展程序时出现以下警告:
'tts' is only allowed for extensions, legacy packaged apps and packaged apps, and this is a hosted app.




然后在鼠标单击事件中增加请求权限代码.


chrome.permissions.request({permissions: ['*://localhost/*','ttsEngine']}, 
function(p1,p2){
});


说Error during permissions.request: '*://localhost/*' is not a recognized permission.


改成


chrome.permissions.request({permissions: ['ttsEngine']}, 
function(p1,p2){
});


说:Error during permissions.request: The optional permissions API does not support 'ttsEngine'.


把ttsEngine改成tts也是一样.





iis server promot error 404.3 500.21

问题描述:

最近今天我又出现错误了.无故出现下面这个错误:

应用程序“DEFAULT WEBSITE/TTSSERVICE”中的服务器错误
Internet Information Services 7.5
错误摘要
HTTP 错误 404.3 - Not Found
由于扩展配置问题而无法提供您请求的页面。如果该页面是脚本,请添加处理程序。如果应下载文件,请添加 MIME 映射。
详细错误信息
模块 StaticFileModule
通知 ExecuteRequestHandler
处理程序 StaticFile
错误代码 0x80070032
请求的 URL http://localhost:80/ttsservice/ajax/tts.ashx?task=tofile2&id=17150&format=mp3
物理路径 D:\doc\webserver\wwwroot\csharp\ttsservice\ajax\tts.ashx
登录方法 匿名
登录用户 匿名
最可能的原因:
可能是缺少处理程序映射。默认情况下,静态文件处理程序将处理所有内容。
您要使用的功能可能尚未安装。
没有为网站或应用程序启用相应的 MIME 映射。(警告: 请不要为用户不应下载的 .ASPX 页或 .config 文件等内容创建 MIME 映射。)
如果未安装 ASP.NET。
可尝试的操作:
在 system.webServer/handlers 中:
确保映射了当前页所需的处理程序。
请特别注意前提(例如,runtimeVersion、pipelineMode、bitness)并将这些前提与应用程序池的设置进行比较。
请特别注意所需处理程序行中的书写错误。
请确认要使用的功能已经安装。
确认启用了 MIME 映射,或使用命令行工具 appcmd.exe 为网站添加 MIME 映射。
要设置 MIME 类型,请使用以下语法: %SystemRoot%\windows\system32\inetsrv\appcmd set config /section:staticContent /+[fileExtension='string',mimeType='string']
变量 fileExtension 字符串是文件扩展名,变量 mimeType 字符串是文件类型说明。
例如,要为扩展名为“.xyz”的文件添加 MIME 映射: appcmd set config /section:staticContent /+[fileExtension='.xyz',mimeType='text/plain']
警告: 请在确认您的 Web 服务器需要此 MIME 映射之后再将其添加到列表中。配置文件(如 .CONFIG)或动态脚本页(如 .ASP 或 .ASPX)不应直接下载,应始终通过处理程序来处理。有时会使用其他文件(如数据库文件或 .XML 或 .MDF 等用于存储配置的文件)来存储配置信息。请先确认客户端能否下载这些类型的文件,然后再启用这些文件。
安装 ASP.NET。
创建跟踪规则以跟踪此 HTTP 状态代码的失败的请求。有关为失败的请求创建跟踪规则的详细信息,请单击此处。
链接和更多信息
当所请求 URL 的文件扩展名是针对未在服务器上配置的 MIME 类型时,便会发生此错误。您可以为动态脚本页、数据库或配置文件以外的文件的文件扩展名添加 MIME 类型。这些文件类型使用一个处理程序来处理。您不应允许直接下载动态脚本页、数据库或配置文件。
查看更多信息 »




前几天修改了些东西,然后忘了哪一次修改造成的,因为一直未使用,所以没有处理.今天要使用这个功能,只能解决它了. 这是在我测试机上出现的,如果正式发布机也有这个问题,那不是捣大了.


尝试解决:


试了Default.aspx文件,也是一样.


找了一个资料


image


我用Microsoft Web Platform Installer工具,尝试安装一下上图选中项IIS:ASP.NET.


然后出现这个问题:

应用程序“DEFAULT WEBSITE/TTSSERVICE”中的服务器错误
Internet Information Services 7.5
错误摘要
HTTP 错误 500.21 - Internal Server Error
处理程序“SimpleHandlerFactory-Integrated”在其模块列表中有一个错误模块“ManagedPipelineHandler”
详细错误信息
模块 IIS Web Core
通知 ExecuteRequestHandler
处理程序 SimpleHandlerFactory-Integrated
错误代码 0x8007000d
请求的 URL http://localhost:80/ttsservice/ajax/tts.ashx
物理路径 D:\doc\webserver\wwwroot\csharp\ttsservice\ajax\tts.ashx
登录方法 匿名
登录用户 匿名
最可能的原因:
使用了托管的处理程序,但是未安装或未完整安装 ASP.NET。
处理程序模块列表的配置中存在录入错误。
可尝试的操作:
如果要使用托管的处理程序,请安装 ASP.NET。
请确保正确指定处理程序模块的名称。模块名称区分大小写,并使用 modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" 格式。
链接和更多信息
IIS 内核不能识别此模块。
查看更多信息 »



不关机,重启IIS服务器.还是一样.


再用microsoft web installer安装下图选中项: 执行iis asp.net注册工具.


image


试了两次,它提示安装失败.


image


再次尝试安装:


image


失败


image


没用.


最后.输入一个命令:

C:\Windows\system32>"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe" -iru -enable
开始安装 ASP.NET (4.0.30319)。
...........
ASP.NET (4.0.30319)安装完毕。
解决.


iis7.5错误,出现打开网页错误,提示

刚才,打开网页时,IIS7.5突然出现zend framework模块下Access-Control-Allow-Origin重复添加的问题,作此记录.

应用程序“DEFAULT WEBSITE”中的服务器错误
Internet Information Services 7.5
错误摘要
HTTP 错误 500.19 - Internal Server Error
无法访问请求的页面,因为该页的相关配置数据无效。
详细错误信息
模块 ProtocolSupportModule
通知 SendResponse
处理程序 ZendPHPviaFastCGI
错误代码 0x800700b7
配置错误 在唯一密钥属性“name”设置为“Access-Control-Allow-Origin”时,无法添加类型为“add”的重复集合项
配置文件 \\?\D:\doc\webserver\wwwroot\discuz\web.config
请求的 URL http://localhost:80/discuz/source/plugin/pk17s_cn/replynew.php?mod=replysend&iid=17360
物理路径 D:\doc\webserver\wwwroot\discuz\source\plugin\pk17s_cn\replynew.php
登录方法 匿名
登录用户 匿名
配置源
8: <customHeaders>
9: <add name="Access-Control-Allow-Origin" value="*" />
10: <add name="Access-Control-Allow-Headers" value="X-Requested-With" />
链接和更多信息
当读取 Web 服务器或 Web 应用程序的配置文件出现问题时,就会发生此错误。在某些情况下,事件日志会包含有关导致此错误的原因的更多信息。
查看更多信息 »



原因是,我在wwwroot及wwwroot/discuz/下放了两个一模一样内容的web.config文件.

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<configSections>
<section name="rewriter" requirePermission="false" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter" />
</configSections>
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*" />
<add name="Access-Control-Allow-Headers" value="X-Requested-With" />
</customHeaders>
</httpProtocol>
<urlCompression doStaticCompression="true" />
</system.webServer>
</configuration>


删除wwwroot/discuz/的web.config即可解决.

Saturday, November 24, 2012

wordpress plugin–W3 TOTAL CACHE error

here, i will record some blog wordpress plugin w3 total cache error log:

 

error:

It appears Minify URL rewriting is not working. If using apache, verify that the server configuration allows .htaccess or if using nginx verify all configuration files are included in the configuration.



fixed: in vim /etc/httpd/conf/httpd.conf

<Directory "/var/www/html/wordpress">
Options Indexes FollowSymLinks IncludesNOEXEC
AllowOverride All
Order allow,deny
Allow from all
DirectoryIndex index.php index.htm index.html
</Directory>




error: Compatibility Test

Compatibility Test

Legend
Installed: Functionality will work properly
Not detected: May be installed, but cannot be automatically confirmed
Ok: Current value is acceptable.
Yes/No: The value was successful detected.

Server Modules & Resources:

Plugin Version: 0.9.2.4
PHP Version: 5.3.14 (PHP5 required for Minify, Rackspace CloudFiles, Microsoft Azure support)
Web Server: Apache
FTP functions: Installed (required for Self-hosted (FTP) CDN support)
Multibyte String support: Installed (required for Rackspace Cloud Files support)
cURL extension: Installed (required for Amazon S3, Amazon CloudFront, Rackspace CloudFiles support)
zlib extension: Installed (required for compression support)
Opcode cache: Installed (APC)
Memcache extension: Installed
HTML Tidy extension: Installed (required for HTML Tidy minifier suppport)
Mime type detection: Installed (Fileinfo) (required for CDN support)
Hash function: Installed (hash) (required for NetDNA purge support)
Safe mode: Off
Open basedir: Off
zlib output compression: Off
set_time_limit: Available
mod_deflate: Installed (required for Page Cache (enhanced mode) and Browser Cache)
mod_env: Installed (required for Page Cache (enhanced mode) and Browser Cache)
mod_expires: Installed (required for Page Cache (enhanced mode) and Browser Cache)
mod_headers: Installed (required for Page Cache (enhanced mode) and Browser Cache)
mod_mime: Installed (required for Page Cache (enhanced mode) and Browser Cache)
mod_rewrite: Installed (required for Page Cache (enhanced mode) and Browser Cache)
mod_setenvif: Installed (required for Page Cache (enhanced mode) and Browser Cache)
WordPress Resources

/var/www/html/wordpress/.htaccess: OK
/var/www/html/wordpress/wp-content: OK
/var/www/html/wordpress/wp-content/uploads/2012/11: OK
Fancy permalinks: Disabled
WP_CACHE define: Defined (true)
URL rewrite: Enabled
Network mode: No




fixed:


wait ..

amazon linux ami–apache2 bing mulit domian

1.amazon linux ami apache2 bing multi domain server.

open conf file to write:

vim /etc/httpd/conf/httpd.conf

write file to it:

<VirtualHost *:80>
DocumentRoot "/var/www/html/wordpress"
ServerName blog.pkrss.com
</Virtualhost>



restart apache

/etc/init.d/httpd reload



2.setup ftp.

yum install vsftpd –y

create user:like this

groupadd pkrss
useradd -s /sbin/nologin -g pkrss -d /var/www/html pkrss
passwd pkrss
chown -R pkrss:pkrss /var/www/html
chmod -R a+rwx /var/www/html





vim vsftpd.conf


after:anonymous_enable=YES


add:

anonymous_enable=NO
pasv_enable=YES
pasv_min_port=1024
pasv_max_port=1048
pasv_address=127.0.0.1
chroot_local_user=yes




restart vsftpd:

/etc/init.d/vsftpd reload


submit sitemap.xml.gz to yahoo and bing(2)-get free bing ad $50

第一篇SEO, "linux apache2 sitemap.xml.gz error" 介绍了因为在linux下压缩sitemal.xml.gz文件错误两次的问题.

上一篇SEO, “submit sitemap.xml.gz to yahoo and bing”介绍如何手动添加站点地图到雅虎和微软的搜索引擎bing网站管理员后台工具.

这一篇SEO,将会向你介绍如何免费获取BING赠送的价值"$50"的广告费用.

做为SEO优化者,你需要随时明白了解SEO的各项工具.在进行此步前,需要明白,要想在11月31号前得到这笔钱,需要准备一张mastcard或visa信用卡.或者一个paypal账号.

按之前介绍的打开 Bing Webmaster Tools:http://www.bing.com/toolbox/webmaster

出现提示有信息如图:

在此处申请免费搜索广告的 $50 广告积分!
日期: 2012/11/23
优先级: 高
尊敬的网站管理员:

很高兴您开设了新帐户,为此我们向您提供 $50 的免费搜索广告!* 只需几个简单步骤,您就可以开始使用免费点击量。*

1. 访问 www.microsoftadvertising.com/WebmasterSite
2. 单击“启动广告”,然后单击“立即注册”。
3. 填写注册表并单击“提交”。
4. 在弹出的窗口中,单击“编辑您的帐户”。
5. 输入您的支付方式和促销代码:

如果需要帮助,请致电 866-344-7254

*美国和华盛顿特区的限时优惠

优惠详细信息
此优惠只能兑换一次。在我们的系统确认兑换后, 此优惠可能会在兑换之后继续显示最多 24 小时。

*此优惠只对在 January 31, 2013 (太平洋时间的午夜)之前在必应 Bing 广告界面和必应 Bing 广告上开立新帐户且其网站已经过网站管理员工具验证的广告商有效。此优惠的开销额度有限,即搜索广告点击的开销额度不得超过 $50。如果在优惠兑换的 90 天期限之后,这 $50 的广告额度中仍有未使用的部分,则将一律失效。如果广告商的开销额度超过 $50,不论是否在兑换后的首个 90 天之内,都需要支付相关费用。广告商独自负责监控自己的必应 Bing 广告帐户。如果 $50 的广告额度已用完,或者 90 天的兑换期已到(以先到者为准),则必须停止投放广告,否则我们将从您的信用卡上扣除因广告点击而产生的费用。适用条件: 每位新的广告商可享受一次促销优惠。优惠仅对全美 50 个州及华盛顿的居民有效。为保证优惠券有效,帐单地址必须位于美国,另外还必须在兑换优惠券时以及您的帐户生效之前向帐户中输入一种付款方式,才能享受该优惠。此优惠不得与任何其他优惠或折扣合并或分开使用,不得兑换现金、转让、出售或交换。每次点击的最低价格为 $0.05。搜索列表可能因编辑审查而有所变更。请在注册时参见“广告商条款和条件”了解更多详细信息。其他条款和条件可能适用。
谢谢!
Bing 网站管理员团队





按提示,打开这个网址: http://advertise.bingads.microsoft.com/en-us/home?s_cid=us_smb_ptnr_webmaster 给我的网站 http://www.pk17s.cn 申请$50免费广告费


然后:


image


点击这个:


image


跳转后成这样:


image


点击:


image


跳转,注册页面:


image


其中: Language: 是语音选项,默认我就选英文美国English – United States. 你也是想选最后一个Traditional Chinese –TAIWAN 也可以,它是繁体台湾.


Username:用户名


Password:密码


Confirm password:再输入一次密码


Secret question:选择安全问题


Secret answer:选择安全问题的答案


First name:姓


Last name:名


Email:电子邮件


Business phone:联系电话


Currency:币种 默认就好了 因为没有人民币可以选项


Time zone:时间区域 选一个GMT+08:00 beijing就好了.


Industry:行业 默认吧


Send me important information about Bing, search advertising, search tips, and webinars from Bing Ads. 打不打钩都可以  允许bing向你发广告方面的邮件


VERIFICATION:验证码


I agree to the Bing Ads Terms and Conditions. 打钩.同意BING广告协议. 我不知道里面是什么协议.


点提交:


image


 


如果提示:


Your password cannot contain the secret answer. Please change either the password or the secret answer.


说你的密码不能和你的安全答案一样.


然后它长这样的页面(可能你和我不一样):


image


点击下面红色的Accounts & Billing:


image


 


点击payment method,然后变成这样:


image


先要添加绑定信用卡或paypal账号.才能添加coupon优惠卷.


我有paypal,所以下面想直接绑定.


点击:


image


发现Country or region变成美国.可能是前面没有填好,填错的地址,不知道行不行,反正我不想去试,省得人家说我们中国人乱来.改成信用卡试一下.....


点击:


image


变成这样:


image


Address line 1: 通信地址1 都全用拼音吧


Address line 2:通信地址2


City:城市


Country or region:国家和地区 我选China


State or province:省份 我选Fhjian


ZIP code or postal code:邮政编码


Card type:信用卡类型, 看你信用卡后面的有没有VISA 或 MARSTCARD标志.


Card number:卡正面写的卡号


Card security code:卡后面写的卡安全码 3位数字


Expiration date:卡后面写的过期日期


Name on card:卡上面写的拼音名字


点击:


image


然后选择一个


prepost:预付费 先缴钱再展示广告.如果没有钱,就关闭我们的广告.


postpost:后付费 先展示广告,再收钱.一开始50$,最大到2500$.


点击add coupon:


image


变成这样:


image


输入最上面得到的优惠码


点击:


image


成功:


image


 


3.立即投放广告


3.1.


image


3.2.


image



3.3


image


点击SAVE.


3.4 修改投放时间段.


image


就投放两天.


点击SAVE.

Friday, November 23, 2012

submit sitemap.xml.gz to yahoo and bing

上一篇, "linux apache2 sitemap.xml.gz error" 介绍了因为在linux下压缩sitemal.xml.gz文件错误两次的问题.

这一篇SEO篇,我将介绍如何手动添加站点地图到雅虎和微软的搜索引擎bing网站管理员后台工具.

做为SEO优化者,你需要随时明白了解SEO的各项工具.

打开 Bing Webmaster Tools:http://www.bing.com/toolbox/webmaster

如图:

image

使用微软的账号随便登陆,没有就先注册吧.

准备添加站点:

image

点击提交站点地图.

image

URL: 我填我的网站 http://blog.pkrss.com

站点地图(可不填):http://blog.pkrss.com/sitemap.xml.gz

站点什么时候流量 最大:默认

点击"添加". 然后出现:

image

尚未验证网站所有权,点击"立即验证".

验证下列网站的所有权: blog.pkrss.com  
选择 1: 在 Web 服务器上放置 XML 文件

下载 BingSiteAuth.xml
将文件上载到 http://blog.pkrss.com/BingSiteAuth.xml
通过在浏览器中访问 http://blog.pkrss.com/BingSiteAuth.xml 来确认成功上载
单击下面的验证按钮
选择 2: 将 <meta> 标记复制并粘贴到默认网页中

您可以在默认网页的 <head> 部分添加包含身份验证代码的 <meta> 标记。
<meta name="msvalidate.01" content="8F64FF1F513450612985E8DBB20D3966" />
示例:
<html>
<head>
<meta name="msvalidate.01" content="8F64FF1F513450612985E8DBB20D3966" />
<title>Your SEO optimized title</title>
</head>
<body>
page contents
</body>
</html>

选择 3: 向 DNS 添加 CNAME 记录

添加名称为 6544b5aa71c961645d37773983261dcd 且值为 verify.bing.com 的 CNAME (别名)记录。
因此您的 DNS 提供商将把主机 6544b5aa71c961645d37773983261dcd.pksoftlab.com 解析为 verify.bing.com。
如何向下列托管服务提供商添加 CNAME 记录:




从上面选择一个你适用的简单的方法.我选择第一个,下载BingSiteAuth.xml文件,并用FTP工具上传到网站根目录.


点击"验证".


然后出现:


image


待定状态.

linux apache2 sitemap.xml.gz error

i found that sitemap.xml.gz is compressed in twice.

sitemap.xml.gz被压缩两次.

from sitemap.xml 9816K –> sitemap.xml.gz 165k –> sitemap.xml.gz 9k.

And i very like this comress effector, if they have no error.

old code is:

Header set Access-Control-Allow-Origin *
Header set Access-Control-Allow-Headers X-Requested-With
<ifmodule mod_deflate.c>
AddOutputFilter DEFLATE html htm xml js css
</ifmodule>

 


new code is:

Header set Access-Control-Allow-Origin *
Header set Access-Control-Allow-Headers X-Requested-With
<ifmodule mod_deflate.c>
SetEnvIfNoCase Request_URI ".xml.gz$" no-gzip dont-vary
AddOutputFilter DEFLATE html htm xml js css
</ifmodule>




other problem is when i submit sitemap to seo,


only yahoo said to me:

The following errors were detected: limit exceeded



yahoo said: http://developer.yahoo.com/search/rate.html

The service limits are expressed in API calls per 24 hour period. You can think of this as a day, however the clock does not reset itself at midnight. Instead, we begin counting the first time we see an API call from the IP. Then 24 hours later, we reset the counters for your IP address.



and here:


How to Submit a Sitemap to Yahoo!:http://webdesign.about.com/od/sitemaps/ht/submit_sitemap_yahoo.htm


goto Bing Webmaster Tools:http://www.bing.com/toolbox/webmaster


下一篇,我将介绍如何手动添加站点地图到雅虎和微软的搜索引擎bing网站管理员后台工具.

Thursday, November 22, 2012

广告联盟介绍一 - Amazon Advertising API (2)

网赚篇

一.请求URL签名

打开这个地址: http://associates-amazon.s3.amazonaws.com/signed-requests/helper/index.html

它长这个样:

image

输入你的akey,skey.

在Unsigned URL输入框中输入:

http://ecs.amazonaws.com/onca/xml?Service=AWSECommerceService
&Version=2011-08-01
&AssociateTag=PutYourAssociateTagHere
&Operation=ItemSearch
&SearchIndex=Books
&Keywords=harry+potter



把AssoociateTag换成你要的标签,SearchIndex换成你要搜索的类别索引,Keywords换成你要搜索的关键字.


点击 Display Signed URL 按钮.


拷贝 Signed URL 中的签名后的网页地址文本,到浏览器中粘贴,打开该网页地址.


我的签名后网页地址文本如下:

http://ecs.amazonaws.com/onca/xml?AWSAccessKeyId=AKIAIRU5IQAOIKN3DWRQ&AssociateTag=Best%20Selling&Keywords=harry%20potter&Operation=ItemSearch&SearchIndex=Books&Service=AWSECommerceService&Timestamp=2012-11-22T02%3A10%3A24.000Z&Version=2011-08-01&Signature=iS49MKbBKU1ZS4uWqqfC6z6UCdZa%2F1l%2FZgjaUmgBbhs%3D



打开后.像这样:


image


<?xml version="1.0" ?><ItemSearchResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2011-08-01"><OperationRequest><HTTPHeaders><Header Name="UserAgent" Value="Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11 AlexaToolbar/alxg-3.1"></Header></HTTPHeaders><RequestId>eafa66ae-35e6-4ea6-a3bf-f29e2a180b6b</RequestId><Arguments><Argument Name="Operation" Value="ItemSearch"></Argument><Argument Name="Service" Value="AWSECommerceService"></Argument><Argument Name="Signature" Value="iS49MKbBKU1ZS4uWqqfC6z6UCdZa/1l/ZgjaUmgBbhs="></Argument><Argument Name="AssociateTag" Value="Best Selling"></Argument><Argument Name="Version" Value="2011-08-01"></Argument><Argument Name="Keywords" Value="harry potter"></Argument><Argument Name="AWSAccessKeyId" Value="AKIAIRU5IQAOIKN3DWRQ"></Argument><Argument Name="Timestamp" Value="2012-11-22T02:10:24.000Z"></Argument><Argument Name="SearchIndex" Value="Books"></Argument></Arguments><RequestProcessingTime>0.3936420000000000</RequestProcessingTime></OperationRequest><Items><Request><IsValid>True</IsValid><ItemSearchRequest><Keywords>harry potter</Keywords><ResponseGroup>Small</ResponseGroup><SearchIndex>Books</SearchIndex></ItemSearchRequest></Request><TotalResults>8490</TotalResults><TotalPages>849</TotalPages><MoreSearchResultsUrl>http://www.amazon.com/gp/redirect.html?camp=2025&amp;creative=386001&amp;location=http%3A%2F%2Fwww.amazon.com%2Fgp%2Fsearch%3Fkeywords%3Dharry%2Bpotter%26url%3Dsearch-alias%253Dstripbooks&amp;linkCode=xm2&amp;tag=Best+Selling&amp;SubscriptionId=AKIAIRU5IQAOIKN3DWRQ</MoreSearchResultsUrl><Item><ASIN>059035342X</ASIN><DetailPageURL>http://www.amazon.com/Harry-Potter-Sorcerers-Stone-Book/dp/059035342X%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D059035342X</DetailPageURL><ItemLinks><ItemLink><Description>Technical Details</Description><URL>http://www.amazon.com/Harry-Potter-Sorcerers-Stone-Book/dp/tech-data/059035342X%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D059035342X</URL></ItemLink><ItemLink><Description>Add To Baby Registry</Description><URL>http://www.amazon.com/gp/registry/baby/add-item.html%3Fasin.0%3D059035342X%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D059035342X</URL></ItemLink><ItemLink><Description>Add To Wedding Registry</Description><URL>http://www.amazon.com/gp/registry/wedding/add-item.html%3Fasin.0%3D059035342X%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D059035342X</URL></ItemLink><ItemLink><Description>Add To Wishlist</Description><URL>http://www.amazon.com/gp/registry/wishlist/add-item.html%3Fasin.0%3D059035342X%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D059035342X</URL></ItemLink><ItemLink><Description>Tell A Friend</Description><URL>http://www.amazon.com/gp/pdp/taf/059035342X%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D059035342X</URL></ItemLink><ItemLink><Description>All Customer Reviews</Description><URL>http://www.amazon.com/review/product/059035342X%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D059035342X</URL></ItemLink><ItemLink><Description>All Offers</Description><URL>http://www.amazon.com/gp/offer-listing/059035342X%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D059035342X</URL></ItemLink></ItemLinks><ItemAttributes><Author>J.K. Rowling</Author><Creator Role="Illustrator">Mary GrandPré</Creator><Manufacturer>Scholastic Paperbacks</Manufacturer><ProductGroup>Book</ProductGroup><Title>Harry Potter and the Sorcerer's Stone (Book 1)</Title></ItemAttributes></Item><Item><ASIN>0545162076</ASIN><DetailPageURL>http://www.amazon.com/Harry-Potter-Paperback-Box-Books/dp/0545162076%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0545162076</DetailPageURL><ItemLinks><ItemLink><Description>Technical Details</Description><URL>http://www.amazon.com/Harry-Potter-Paperback-Box-Books/dp/tech-data/0545162076%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0545162076</URL></ItemLink><ItemLink><Description>Add To Baby Registry</Description><URL>http://www.amazon.com/gp/registry/baby/add-item.html%3Fasin.0%3D0545162076%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0545162076</URL></ItemLink><ItemLink><Description>Add To Wedding Registry</Description><URL>http://www.amazon.com/gp/registry/wedding/add-item.html%3Fasin.0%3D0545162076%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0545162076</URL></ItemLink><ItemLink><Description>Add To Wishlist</Description><URL>http://www.amazon.com/gp/registry/wishlist/add-item.html%3Fasin.0%3D0545162076%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0545162076</URL></ItemLink><ItemLink><Description>Tell A Friend</Description><URL>http://www.amazon.com/gp/pdp/taf/0545162076%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0545162076</URL></ItemLink><ItemLink><Description>All Customer Reviews</Description><URL>http://www.amazon.com/review/product/0545162076%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0545162076</URL></ItemLink><ItemLink><Description>All Offers</Description><URL>http://www.amazon.com/gp/offer-listing/0545162076%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0545162076</URL></ItemLink></ItemLinks><ItemAttributes><Author>J. K. Rowling</Author><Manufacturer>Arthur A. Levine Books</Manufacturer><ProductGroup>Book</ProductGroup><Title>Harry Potter Paperback Box Set (Books 1-7)</Title></ItemAttributes></Item><Item><ASIN>0439064872</ASIN><DetailPageURL>http://www.amazon.com/Harry-Potter-Chamber-Secrets-Book/dp/0439064872%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0439064872</DetailPageURL><ItemLinks><ItemLink><Description>Technical Details</Description><URL>http://www.amazon.com/Harry-Potter-Chamber-Secrets-Book/dp/tech-data/0439064872%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439064872</URL></ItemLink><ItemLink><Description>Add To Baby Registry</Description><URL>http://www.amazon.com/gp/registry/baby/add-item.html%3Fasin.0%3D0439064872%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439064872</URL></ItemLink><ItemLink><Description>Add To Wedding Registry</Description><URL>http://www.amazon.com/gp/registry/wedding/add-item.html%3Fasin.0%3D0439064872%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439064872</URL></ItemLink><ItemLink><Description>Add To Wishlist</Description><URL>http://www.amazon.com/gp/registry/wishlist/add-item.html%3Fasin.0%3D0439064872%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439064872</URL></ItemLink><ItemLink><Description>Tell A Friend</Description><URL>http://www.amazon.com/gp/pdp/taf/0439064872%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439064872</URL></ItemLink><ItemLink><Description>All Customer Reviews</Description><URL>http://www.amazon.com/review/product/0439064872%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439064872</URL></ItemLink><ItemLink><Description>All Offers</Description><URL>http://www.amazon.com/gp/offer-listing/0439064872%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439064872</URL></ItemLink></ItemLinks><ItemAttributes><Author>J. K. Rowling</Author><Author>Mary GrandPré</Author><Manufacturer>Scholastic Paperbacks</Manufacturer><ProductGroup>Book</ProductGroup><Title>Harry Potter and the Chamber of Secrets (Book 2)</Title></ItemAttributes></Item><Item><ASIN>0545139708</ASIN><DetailPageURL>http://www.amazon.com/Harry-Potter-Deathly-Hallows-Book/dp/0545139708%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0545139708</DetailPageURL><ItemLinks><ItemLink><Description>Technical Details</Description><URL>http://www.amazon.com/Harry-Potter-Deathly-Hallows-Book/dp/tech-data/0545139708%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0545139708</URL></ItemLink><ItemLink><Description>Add To Baby Registry</Description><URL>http://www.amazon.com/gp/registry/baby/add-item.html%3Fasin.0%3D0545139708%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0545139708</URL></ItemLink><ItemLink><Description>Add To Wedding Registry</Description><URL>http://www.amazon.com/gp/registry/wedding/add-item.html%3Fasin.0%3D0545139708%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0545139708</URL></ItemLink><ItemLink><Description>Add To Wishlist</Description><URL>http://www.amazon.com/gp/registry/wishlist/add-item.html%3Fasin.0%3D0545139708%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0545139708</URL></ItemLink><ItemLink><Description>Tell A Friend</Description><URL>http://www.amazon.com/gp/pdp/taf/0545139708%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0545139708</URL></ItemLink><ItemLink><Description>All Customer Reviews</Description><URL>http://www.amazon.com/review/product/0545139708%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0545139708</URL></ItemLink><ItemLink><Description>All Offers</Description><URL>http://www.amazon.com/gp/offer-listing/0545139708%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0545139708</URL></ItemLink></ItemLinks><ItemAttributes><Author>J.K. Rowling</Author><Creator Role="Illustrator">Mary GrandPre</Creator><Manufacturer>Arthur A. Levine Books</Manufacturer><ProductGroup>Book</ProductGroup><Title>Harry Potter and the Deathly Hallows (Book 7)</Title></ItemAttributes></Item><Item><ASIN>0439136369</ASIN><DetailPageURL>http://www.amazon.com/Harry-Potter-Prisoner-Azkaban-Rowling/dp/0439136369%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0439136369</DetailPageURL><ItemLinks><ItemLink><Description>Technical Details</Description><URL>http://www.amazon.com/Harry-Potter-Prisoner-Azkaban-Rowling/dp/tech-data/0439136369%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439136369</URL></ItemLink><ItemLink><Description>Add To Baby Registry</Description><URL>http://www.amazon.com/gp/registry/baby/add-item.html%3Fasin.0%3D0439136369%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439136369</URL></ItemLink><ItemLink><Description>Add To Wedding Registry</Description><URL>http://www.amazon.com/gp/registry/wedding/add-item.html%3Fasin.0%3D0439136369%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439136369</URL></ItemLink><ItemLink><Description>Add To Wishlist</Description><URL>http://www.amazon.com/gp/registry/wishlist/add-item.html%3Fasin.0%3D0439136369%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439136369</URL></ItemLink><ItemLink><Description>Tell A Friend</Description><URL>http://www.amazon.com/gp/pdp/taf/0439136369%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439136369</URL></ItemLink><ItemLink><Description>All Customer Reviews</Description><URL>http://www.amazon.com/review/product/0439136369%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439136369</URL></ItemLink><ItemLink><Description>All Offers</Description><URL>http://www.amazon.com/gp/offer-listing/0439136369%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439136369</URL></ItemLink></ItemLinks><ItemAttributes><Author>J.K. Rowling</Author><Creator Role="Illustrator">Mary GrandPré</Creator><Manufacturer>Scholastic Paperbacks</Manufacturer><ProductGroup>Book</ProductGroup><Title>Harry Potter and the Prisoner of Azkaban</Title></ItemAttributes></Item><Item><ASIN>0439358078</ASIN><DetailPageURL>http://www.amazon.com/Harry-Potter-And-Order-Phoenix/dp/0439358078%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0439358078</DetailPageURL><ItemLinks><ItemLink><Description>Technical Details</Description><URL>http://www.amazon.com/Harry-Potter-And-Order-Phoenix/dp/tech-data/0439358078%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439358078</URL></ItemLink><ItemLink><Description>Add To Baby Registry</Description><URL>http://www.amazon.com/gp/registry/baby/add-item.html%3Fasin.0%3D0439358078%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439358078</URL></ItemLink><ItemLink><Description>Add To Wedding Registry</Description><URL>http://www.amazon.com/gp/registry/wedding/add-item.html%3Fasin.0%3D0439358078%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439358078</URL></ItemLink><ItemLink><Description>Add To Wishlist</Description><URL>http://www.amazon.com/gp/registry/wishlist/add-item.html%3Fasin.0%3D0439358078%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439358078</URL></ItemLink><ItemLink><Description>Tell A Friend</Description><URL>http://www.amazon.com/gp/pdp/taf/0439358078%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439358078</URL></ItemLink><ItemLink><Description>All Customer Reviews</Description><URL>http://www.amazon.com/review/product/0439358078%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439358078</URL></ItemLink><ItemLink><Description>All Offers</Description><URL>http://www.amazon.com/gp/offer-listing/0439358078%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439358078</URL></ItemLink></ItemLinks><ItemAttributes><Author>J. K. Rowling</Author><Author>Mary GrandPré</Author><Manufacturer>Scholastic Paperbacks</Manufacturer><ProductGroup>Book</ProductGroup><Title>Harry Potter And The Order Of The Phoenix</Title></ItemAttributes></Item><Item><ASIN>0439139600</ASIN><DetailPageURL>http://www.amazon.com/Harry-Potter-Goblet-Fire-Book/dp/0439139600%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0439139600</DetailPageURL><ItemLinks><ItemLink><Description>Technical Details</Description><URL>http://www.amazon.com/Harry-Potter-Goblet-Fire-Book/dp/tech-data/0439139600%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439139600</URL></ItemLink><ItemLink><Description>Add To Baby Registry</Description><URL>http://www.amazon.com/gp/registry/baby/add-item.html%3Fasin.0%3D0439139600%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439139600</URL></ItemLink><ItemLink><Description>Add To Wedding Registry</Description><URL>http://www.amazon.com/gp/registry/wedding/add-item.html%3Fasin.0%3D0439139600%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439139600</URL></ItemLink><ItemLink><Description>Add To Wishlist</Description><URL>http://www.amazon.com/gp/registry/wishlist/add-item.html%3Fasin.0%3D0439139600%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439139600</URL></ItemLink><ItemLink><Description>Tell A Friend</Description><URL>http://www.amazon.com/gp/pdp/taf/0439139600%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439139600</URL></ItemLink><ItemLink><Description>All Customer Reviews</Description><URL>http://www.amazon.com/review/product/0439139600%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439139600</URL></ItemLink><ItemLink><Description>All Offers</Description><URL>http://www.amazon.com/gp/offer-listing/0439139600%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439139600</URL></ItemLink></ItemLinks><ItemAttributes><Author>J. K. Rowling</Author><Author>Mary GrandPré</Author><Manufacturer>Scholastic Paperbacks</Manufacturer><ProductGroup>Book</ProductGroup><Title>Harry Potter and the Goblet of Fire (Book 4)</Title></ItemAttributes></Item><Item><ASIN>0439785960</ASIN><DetailPageURL>http://www.amazon.com/Harry-Potter-Half-Blood-Prince-Book/dp/0439785960%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0439785960</DetailPageURL><ItemLinks><ItemLink><Description>Technical Details</Description><URL>http://www.amazon.com/Harry-Potter-Half-Blood-Prince-Book/dp/tech-data/0439785960%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439785960</URL></ItemLink><ItemLink><Description>Add To Baby Registry</Description><URL>http://www.amazon.com/gp/registry/baby/add-item.html%3Fasin.0%3D0439785960%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439785960</URL></ItemLink><ItemLink><Description>Add To Wedding Registry</Description><URL>http://www.amazon.com/gp/registry/wedding/add-item.html%3Fasin.0%3D0439785960%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439785960</URL></ItemLink><ItemLink><Description>Add To Wishlist</Description><URL>http://www.amazon.com/gp/registry/wishlist/add-item.html%3Fasin.0%3D0439785960%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439785960</URL></ItemLink><ItemLink><Description>Tell A Friend</Description><URL>http://www.amazon.com/gp/pdp/taf/0439785960%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439785960</URL></ItemLink><ItemLink><Description>All Customer Reviews</Description><URL>http://www.amazon.com/review/product/0439785960%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439785960</URL></ItemLink><ItemLink><Description>All Offers</Description><URL>http://www.amazon.com/gp/offer-listing/0439785960%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0439785960</URL></ItemLink></ItemLinks><ItemAttributes><Author>J.K. Rowling</Author><Creator Role="Illustrator">Mary GrandPré</Creator><Manufacturer>Scholastic Paperbacks</Manufacturer><ProductGroup>Book</ProductGroup><Title>Harry Potter and the Half-Blood Prince (Book 6)</Title></ItemAttributes></Item><Item><ASIN>1440503257</ASIN><DetailPageURL>http://www.amazon.com/Unofficial-Harry-Potter-Cookbook-Knickerbocker/dp/1440503257%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D1440503257</DetailPageURL><ItemLinks><ItemLink><Description>Technical Details</Description><URL>http://www.amazon.com/Unofficial-Harry-Potter-Cookbook-Knickerbocker/dp/tech-data/1440503257%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D1440503257</URL></ItemLink><ItemLink><Description>Add To Baby Registry</Description><URL>http://www.amazon.com/gp/registry/baby/add-item.html%3Fasin.0%3D1440503257%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D1440503257</URL></ItemLink><ItemLink><Description>Add To Wedding Registry</Description><URL>http://www.amazon.com/gp/registry/wedding/add-item.html%3Fasin.0%3D1440503257%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D1440503257</URL></ItemLink><ItemLink><Description>Add To Wishlist</Description><URL>http://www.amazon.com/gp/registry/wishlist/add-item.html%3Fasin.0%3D1440503257%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D1440503257</URL></ItemLink><ItemLink><Description>Tell A Friend</Description><URL>http://www.amazon.com/gp/pdp/taf/1440503257%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D1440503257</URL></ItemLink><ItemLink><Description>All Customer Reviews</Description><URL>http://www.amazon.com/review/product/1440503257%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D1440503257</URL></ItemLink><ItemLink><Description>All Offers</Description><URL>http://www.amazon.com/gp/offer-listing/1440503257%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D1440503257</URL></ItemLink></ItemLinks><ItemAttributes><Author>Dinah Bucholz</Author><Manufacturer>Adams Media</Manufacturer><ProductGroup>Book</ProductGroup><Title>The Unofficial Harry Potter Cookbook: From Cauldron Cakes to Knickerbocker Glory--More Than 150 Magical Recipes for Muggles and Wizards</Title></ItemAttributes></Item><Item><ASIN>0545128285</ASIN><DetailPageURL>http://www.amazon.com/Tales-Beedle-Standard-Edition-Potter/dp/0545128285%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0545128285</DetailPageURL><ItemLinks><ItemLink><Description>Technical Details</Description><URL>http://www.amazon.com/Tales-Beedle-Standard-Edition-Potter/dp/tech-data/0545128285%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0545128285</URL></ItemLink><ItemLink><Description>Add To Baby Registry</Description><URL>http://www.amazon.com/gp/registry/baby/add-item.html%3Fasin.0%3D0545128285%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0545128285</URL></ItemLink><ItemLink><Description>Add To Wedding Registry</Description><URL>http://www.amazon.com/gp/registry/wedding/add-item.html%3Fasin.0%3D0545128285%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0545128285</URL></ItemLink><ItemLink><Description>Add To Wishlist</Description><URL>http://www.amazon.com/gp/registry/wishlist/add-item.html%3Fasin.0%3D0545128285%26SubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0545128285</URL></ItemLink><ItemLink><Description>Tell A Friend</Description><URL>http://www.amazon.com/gp/pdp/taf/0545128285%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0545128285</URL></ItemLink><ItemLink><Description>All Customer Reviews</Description><URL>http://www.amazon.com/review/product/0545128285%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0545128285</URL></ItemLink><ItemLink><Description>All Offers</Description><URL>http://www.amazon.com/gp/offer-listing/0545128285%3FSubscriptionId%3DAKIAIRU5IQAOIKN3DWRQ%26tag%3DBest Selling%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0545128285</URL></ItemLink></ItemLinks><ItemAttributes><Author>J. K. Rowling</Author><Manufacturer>Children's High Level Group</Manufacturer><ProductGroup>Book</ProductGroup><Title>The Tales of Beedle the Bard, Standard Edition (Harry Potter)</Title></ItemAttributes></Item></Items></ItemSearchResponse>




ItemSearchResponse: XML主节点


  OperationRequest: 请求的参数信息


    子节点略...


  Items:(多个) 查询返回的元素信息


    Request: 此次查询发送的信息


    TotalResults: 总的结果数量


    TotalPages:总的结果分页数量


    MoreSearchResultsUrl:更多的查询结果网址


    Item:某条查询返回的商品信息


      ASIN: 该商品识别码


      DetailPageURL: 该商品详细介绍页面


          打开后,长这样:image


      ItemLinks: 该商品的物品链接


        ItemLink:(多个) 该商品的某个物品链接


          Description:描述


          URL:链接网址


                   打开后,长这样:image



 


经分析,返回结果不是描述,就是链接. 没有图片,价格等. 不适合我的瀑布流需求.故跳过此需求使用.

广告联盟介绍 - Amazon Advertising API

网赚篇

1.简单介绍

这个东西,是让你们这群网站主,可以在你们的网站上amazon亚马逊的产品的广告.它们产品有分好几个国家的.国家列表如下:

private $possibleLocations = array('de', 'com', 'co.uk', 'ca', 'fr', 'co.jp', 'it', 'cn', 'es');



首先,你们要去注册一个amazon亚马逊的账号(不要注册易趣).然后amazon的账号有个特点,整个网站的所有产口都是同一个akey 和 skey.不像国内的新浪微博和腾讯微博,你捣一个应用申请,就给你一个AKEY,SKEY. 妈的.我就一个”语音新闻王”,结果还因为产品内容版权问题,都不让上.前后有十几个akey,skey. 这个akey和skey你可以去amazon用户中心去查看.


对了,整个过程不要求你小子的英文有过四级,看得懂或者会用google或bing翻译工具即可.


2.广告链接


建立广告链接页面


其中有产品链接:


image


我从里面选了几个120*240的产品广告链接.但因为一次才一个,我想实现窗口无限产品广告瀑布流的效果,所以不想一个一个再拷贝,准备找些别的接口的开发资料.


广告条链接:


image


我从里面选择了几个AMAZON自己的产品广告条. 它只有非常有限的固定的几个横竖幅可以使用.我全部用手把它们拷了出来.



站点横幅:


image


这个我不知道是什么,我不会使用它.


3.高级开发篇


帮助文档下载


代码示例下载