Linkedin上关于Freelancer怎样通过Elance、Freelancer、ODesk获得WordPress的兼职项目第一单

提问者:Thuy-Hong Nguyen

提问内容:I am Thuy-Hong. I used to hand code HTML, CSS, and JavaScript in early 2000. I’m retaking web classes. I want to work as a freelancer in WordPress . How do I determine the rate? Advice? Thank you!

以下均为跟帖者回答内容:

Muhammad Nadeem Asalm
Web Engineer

You know there are alot of web designers and developers that are working as a freelancer now a days. So the first things is not to think about the rate but to think how do you get your first job as a freelancer on the online websites like Elance, ODesk and so.
When I started working on oDesk, I was applying to multiple jobs day and night with the rates that I thought is good for me but It was very hard to get hired without any ratings. So then I decided to bid an amount very less than the clients budget so I could get a job or 2. and then luckily! thanks to my first client that he hired me. It was a small project (Some fixes on a PHP website), and I proposed around $35 but the clients budget was $100.

So then I got started bidding very less than the clients budget and got 3 or 4 more projects the same way. My those clients left me some Great reviews and Ratings. And now I mostly charge my clients double their budget because they know we will get everything done.

and now I have accounts on almost all the popular freelancing websites with Great Ratings.
Good luck to you!

 

 

Nora McDougall-Collins
Working with small business to understand how their website works and works with their business

In a way, you are ahead of the curve because you have practical knowledge of HTML and CSS. There are many WordPress developers who can only work in the dashboard. Have you ever built a WordPress site?

 

 

André Brandvoll Boger
CEO / Webdesigner / Developer

It’s not easy to set what your work is worth by yourself, as a freelancer you will need the cash to pay for your bills, but you will also need the jobs you can get. Find your self a way up, build a portfolio that will attract new clients and opportunity to get higher rates. The rates should fit with the main area(s) you are working with.

 

 

Charles Bohannan
Entreproducer, Content Marketer, Editor

Hi Thuy-Hong — first of all, hats off to you for being an old-school hand coder. I could never do it myself and really suffered during those days.

There is no straight answer to determining your rates as a WordPress freelancer, but I will say you can do really well for yourself if you can sell your potential clients the unique value of your work.

For example, they could go out and hire an oDesk worker for $15/hour and end up getting a pretty substandard or mediocre website — in my experience this is usually the case. But you could come along and sell them on your experience, personality, portfolio, etc. — and charge more — like $1,000 for a simple 5 page WordPress website.

The bottom line is this: people want to pay good money for good things; it makes them feel good. The better you can sell them on how awesome you are, the more you can charge.

大公司里怎样开发和部署前端代码?

主要有以下问题:

  • 开发时的和部署时类库的引用和存放是一致还是不同?
  • 模块放在项目中还是放在 CDN 之类服务器?
  • 渲染网页用 Nginx 还是其他动态语言的 Web 服务器?
  • 制作网页的流程,是先有设计师的稿,还是先看模块?
  • 会选择用自己写的模块还是从社区寻找模块?

无意中看到百度FIX的网站,看到FIX的Demo视频,该视频讲解脉络清晰,非常棒的教学视频。不过看完后,我一直在琢磨,大公司的前端工程有必要这样为了包管理之类的事情专门开发工具?专业名词叫“前端工程化”,小生真的不大懂,看完这篇文章才略知一二,转载至此处,给留个念想。

 

没人邀请,看到这个问题不错,路过怒答。(多图预警)

前百度工程师,曾负责百度 前端集成解决方案 的核心设计与开发工作。我现在称这个领域为【前端工程】。没错,这是我最爱唠叨的问题域。

这是一个非常有趣的 非主流前端领域,这个领域要探索的是如何用工程手段解决前端开发和部署优化的综合问题,入行到现在一直在学习和实践中。

在我的印象中,facebook是这个领域的鼻祖,有兴趣、有梯子的同学可以去看看facebook的页面源代码,体会一下什么叫工程化。

接下来,我想从原理展开讲述,多图,较长,希望能有耐心看完。

—————————- 我是一条分割线 —————————-

让我们返璞归真,从原始的前端开发讲起。上图是一个“可爱”的index.html页面和它的样式文件a.css,用文本编辑器写代码,无需编译,本地预览,确认OK,丢到服务器,等待用户访问。前端就是这么简单,好好玩啊,门槛好低啊,分分钟学会有木有!

然后我们访问页面,看到效果,再查看一下网络请求,200!不错,太™完美了!那么,研发完成。。。。了么?

等等,这还没完呢!对于大公司来说,那些变态的访问量和性能指标,将会让前端一点也不“好玩”。

看看那个a.css的请求吧,如果每次用户访问页面都要加载,是不是很影响性能,很浪费带宽啊,我们希望最好这样:


利用304,让浏览器使用本地缓存。但,这样也就够了吗?不成!304叫协商缓存,这玩意还是要和服务器通信一次,我们的优化级别是变态级,所以必须彻底灭掉这个请求,变成这样:


强制浏览器使用本地缓存(cache-control/expires),不要和服务器通信。好了,请求方面的优化已经达到变态级别,那问题来了:你都不让浏览器发资源请求了,这缓存咋更新?

很好,相信有人想到了办法:通过更新页面中引用的资源路径,让浏览器主动放弃缓存,加载新资源。好像这样:


下次上线,把链接地址改成新的版本,就更新资源了不是。OK,问题解决了么?!当然没有!大公司的变态又来了,思考这种情况:


页面引用了3个css,而某次上线只改了其中的a.css,如果所有链接都更新版本,就会导致b.css,c.css的缓存也失效,那岂不是又有浪费了?!

重新开启变态模式,我们不难发现,要解决这种问题,必须让url的修改与文件内容关联,也就是说,只有文件内容变化,才会导致相应url的变更,从而实现文件级别的精确缓存控制。

什么东西与文件内容相关呢?我们会很自然的联想到利用 数据摘要要算法 对文件求摘要信息,摘要信息与文件内容一一对应,就有了一种可以精确到单个文件粒度的缓存控制依据了。好了,我们把url改成带摘要信息的:


这回再有文件修改,就只更新那个文件对应的url了,想到这里貌似很完美了。你觉得这就够了么?大公司告诉你:图样图森破!

唉~~~~,让我喘口气

现代互联网企业,为了进一步提升网站性能,会把静态资源和动态网页分集群部署,静态资源会被部署到CDN节点上,网页中引用的资源也会变成对应的部署路径:


好了,当我要更新静态资源的时候,同时也会更新html中的引用吧,就好像这样:


这次发布,同时改了页面结构和样式,也更新了静态资源对应的url地址,现在要发布代码上线,亲爱的前端研发同学,你来告诉我,咱们是先上线页面,还是先上线静态资源?

  1. 先部署页面,再部署资源:在二者部署的时间间隔内,如果有用户访问页面,就会在新的页面结构中加载旧的资源,并且把这个旧版本的资源当做新版本缓存起来,其结果就是:用户访问到了一个样式错乱的页面,除非手动刷新,否则在资源缓存过期之前,页面会一直执行错误。
  2. 先部署资源,再部署页面:在部署时间间隔之内,有旧版本资源本地缓存的用户访问网站,由于请求的页面是旧版本的,资源引用没有改变,浏览器将直接使用本地缓存,这种情况下页面展现正常;但没有本地缓存或者缓存过期的用户访问网站,就会出现旧版本页面加载新版本资源的情况,导致页面执行错误,但当页面完成部署,这部分用户再次访问页面又会恢复正常了。

好的,上面一坨分析想说的就是:先部署谁都不成!都会导致部署过程中发生页面错乱的问题。所以,访问量不大的项目,可以让研发同学苦逼一把,等到半夜偷偷上线,先上静态资源,再部署页面,看起来问题少一些。

但是,大公司超变态,没有这样的“绝对低峰期”,只有“相对低峰期”。So,为了稳定的服务,还得继续追求极致啊!

这个奇葩问题,起源于资源的 覆盖式发布,用 待发布资源 覆盖 已发布资源,就有这种问题。解决它也好办,就是实现 非覆盖式发布


看上图,用文件的摘要信息来对资源文件进行重命名,把摘要信息放到资源文件发布路径中,这样,内容有修改的资源就变成了一个新的文件发布到线上,不会覆盖已有的资源文件。上线过程中,先全量部署静态资源,再灰度部署页面,整个问题就比较完美的解决了。

所以,大公司的静态资源优化方案,基本上要实现这么几个东西:

  1. 配置超长时间的本地缓存 —— 节省带宽,提高性能
  2. 采用内容摘要作为缓存更新依据 —— 精确的缓存控制
  3. 静态资源CDN部署 —— 优化网络请求
  4. 更资源发布路径实现非覆盖式发布 —— 平滑升级

全套做下来,就是相对比较完整的静态资源缓存控制方案了,而且,还要注意的是,静态资源的缓存控制要求在前端所有静态资源加载的位置都要做这样的处理。是的,所有!什么js、css自不必说,还要包括js、css文件中引用的资源路径,由于涉及到摘要信息,引用资源的摘要信息也会引起引用文件本身的内容改变,从而形成级联的摘要变化,大概示意图就是:


好了,目前我们快速的学习了一下前端工程中关于静态资源缓存要面临的优化和部署问题,新的问题又来了:这™让工程师怎么写码啊!!!

要解释优化与工程的结合处理思路,又会扯出一堆有关模块化开发、资源加载、请求合并、前端框架等等的工程问题,以上只是开了个头,解决方案才是精髓,但要说的太多太多,有空再慢慢展开吧。或者大家可以去我的blog看其中的一些拆解:fouber/blog · GitHub

总之,前端性能优化绝逼是一个工程问题!

以上不是我YY的,可以观察 百度 或者 facebook 的页面以及静态资源源代码,查看它们的资源引用路径处理,以及网络请中静态资源的缓存控制部分。再次赞叹facebook的前端工程建设水平,跪舔了。

建议前端工程师多多关注前端工程领域,也许有人会觉得自己的产品很小,不用这么变态,但很有可能说不定某天你就需要做出这样的改变了。而且,如果我们能把事情做得更极致,为什么不去做呢?

另外,也不要觉得这些是运维或者后端工程师要解决的问题。如果由其他角色来解决,大家总是把自己不关心的问题丢给别人,那么前端工程师的开发过程将受到极大的限制,这种情况甚至在某些大公司都不少见!

妈妈,我再也不玩前端了。。。。5555

========================[ 10.29更新 ]========================
这里更新一下:

在评论中, @陈钢@fleuria @林翔 提到了rails,刚刚去看了一下,确实是完成了以上所说的优化细节,对整个静态资源的管理上的思考于本答案描述的一致。很遗憾我直到今天(2014-10-29)才了解到rails中的assets pipeline。这里向以上3位同学道歉,原谅我的无知。

不过整篇回答没有讲解到具体的解决方案实现思路,只是介绍了前端在工程化方向的思考,答案本身是可用的,了解rails的人也可以把此答案当做是对rails中assets pipeline设计原理的分析。

rails通过把静态资源变成erb模板文件,然后加入<%= asset_path ‘image.png’ %>,上线前预编译完成处理,不得不承认,fis的实现思路跟这个几乎完全一样,但我们当初确实不知道有rails的这套方案存在。

相关资料:英文版:The Asset Pipeline,中文版:Asset Pipeline
========================[ 10.31更新 ]========================
F.I.S 包装了一个小工具,完整实现整个回答所说的最佳部署方案,并提供了源码对照,可以感受一下项目源码和部署代码的对照。
源码项目:fouber/static-resource-digest-project · GitHub
部署项目:fouber/static-resource-digest-project-release · GitHub
部署项目可以理解为线上发布后的结果,可以在部署项目里查看所有资源引用的md5化处理。

这个示例也可以用于和assets pipeline做比较。fis没有assets的目录规范约束,而且可以以独立工具的方式组合各种前端开发语言(coffee、less、sass/scss、stylus、markdown、jade、ejs、handlebars等等你能想到的),并与其他后端开发语言结合。

assets pipeline的设计思想值得独立成工具用于前端工程,fis就当做这样的一个选择吧。

作者:张云龙
链接:https://www.zhihu.com/question/20790576/answer/32602154
来源:知乎
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

eBay Commerce Network Publisher API Use Cases – eBay合作伙伴API使用示例及其中文说明

之前发布过 eBay Commerce Network Publisher API REST Option Reference 中文说明,如果还是不会请求eBay的服务器,

eBay Commerce Network Publisher Resource Center中的文档提供了这些API请求参数的使用案例,具体案例可以点此进入网站API Use Cases诸位可以对照着案例来看。

由于该处的条目说明,基本与开头提及的eBay API REST Option Reference页面中的条目说明一致,所以此处不再重复翻译。想要看中文版的,请点击文章开头的链接。

不过,为了方便自己使用URL,此处特意说明一下请求eBay Commerce Network API时的URL格式:

API Use Cases中的第一条内容为例:

http : // sandbox.api.ebaycommercenetwork. com/publisher/3.0/rest/GeneralSearch?apiKey=78b0db8a-0ee1-4939-a2f9-d3cd95ec0fcc&trackingId=7000610&visitorUserAgent&visitorIPAddress&keyword=nikon

其中:

1、http : // sandbox.api.ebaycommercenetwork. com/publisher/3.0/:此处为固定格式链接,每次请求eBay的API服务器均需要此部分,所以我们称之为固定连接(Static URL)。

2、rest:eBay的API服务器提供两种方式返回请求的数据,有REST、JSON格式,REST也就是常见的XML格式文件(Response)。

3、GeneralSearch:此处为API服务器的动作,具体是要展示某个产品的数据,还是搜索,还是请求一棵分类树,都是这里决定。你需要什么动作,可以在API REST Option Reference中查找,当然API Use Cases中查找是最为直观的方式(Ebay Action)。

4、apiKey:这部分及其等号后面下一个&与号之前的内容,为本次请求使用的apiKey,该key由eBay官方颁发,此处我们使用的是官方的演示账号(apiKey)。

5、visitorUserAgent:这部分为访问者的User Agent可以自定义,但需要符合常用的User Agent规范(visitorUserAgent)。

6、visitorIPAddress:这部分为访问者的IP地址,可以自定义,但需要符合IP地址的规范(visitorIPAddress)。

7、trackingId:这部分为本次请求发起人的API账户的trackingId,为了方便eBay知道这是谁发起的请求,结合apiKey进行佣金结算(trackingId)。

8、keyword或者其他字段如categoryId:此处根据上文(3)中的Ebay Action来决定填写内容,必填(keyword或者categoryId或者productId)。

综上所述,我们可以拼接为一个简单的字符串来说明问题:

$requestUrl = C(‘staticUrl’).C(‘response’).“/”.$this->ebayAction.“?”.“apiKey=”.C(‘apiKey’).“&visitorUserAgent”.$this->paramValue(“visitorUserAgent”).“&visitorIPAddress”.$this->paramValue(“visitorIPAddress”).“&trackingId=”.C(‘trackingId’).“&categoryId=”.C(‘categoryId’);

其中,paramValue检测是否有这个值,返回符合eBay API请求规范的URL部分。

OK,这就是eBay Commerce Network Publisher API REST Option Reference 中文说明兄弟篇,eBay Commerce Network Publisher API Use Cases – eBay合作伙伴API的中文说明。

对了做了个Quicl的LOGO,感觉很飘逸q Win自带的画图工具真是好用 :)

eBay Commerce Network Publisher API REST Option Reference – eBay合作伙伴API学习笔记

之前研究过一段时间的Amazon Advertise Product API,这次上手eBay不算困难。我为了不至于以后修改程序还需要翻看英文文档,特意翻译成中文的简短说明,OK,来看看中英文对照的API REST Option Reference文档吧。

1、apiKey

The key that uniquely identifies the publisher within the eBay Commerce Network, attained through the Publisher Account Center online application.

这段话意思是apiKey应该是publisher唯一的标识符,类似于AWS的Private Key。

2、trackingId

ECN generated ID used for revenue tracking at the campaign (placement) level. This ID will be provided through the Partner Account Center when you sign up for the API. Previously known as a R20;linkin ID”.

trackingId顾名思义,就是标记你是哪个publisher,当你请求eBay时候eBay可以找到你这个publisher验证并返回你需要的数据,并计算佣金。

3、subTrackingId

User generated ID used to further break down traffic sources beyond ECN campaign level tracking. You may choose any arbitrary character sequence (up to 36 characters), and use as many different IDs as required.�0�2 Please note that you must contact your account manager to have reporting enabled for this sub-tracking ID – otherwise the parameter will simply be ignored.

这个id是为了区别你的多个请求来源,需要人工启用该字段,请联系客户经理。

4、visitorUserAgent、visitorIPAddress

The IP address of the visitor to which this data is being presented.�0�2 Like visitorUserAgent, this data helps eBay Commerce Network to differentiate real users from web crawlers or robots.

这个字段主要是为了提供访问者的ip和请求者的ip是否一致,便于eBay判断是机器人访问,还是人类访问。

5、categoryId

Used to restrict query results to a given category. There are two classes of category: leaf-level categories contain products and offers, whereas parent-level categories contain only other categories. Searches on parent-level categories must be additionally constrained by at least one keyword.

用于将搜索的关键词限制于某个类别中,这里有两种返回类型:一种是返回包含产品、优惠信息的产品集合,另外一种是只返回该分类下属的子节点集合。

6、keyword

The simplest and most popular way to query eBay Commerce Network is to request results using keywords. Results can vary widely depending on the corresponding options and the keyword(s) used. For example, searching for a keyword like R20;Sony” may return items in many different categories while searching for R20;digital cameras” may return items from a single category (if skipping is enabled). Multiple keywords (and/or attribute values) may be submitted to further constrain the results.

这里的keywords可以放大为一个product detail产品详情页面中的任意一个元素,比如SIBN或者描述关键词、或者所属的分类名称。只要Detail页面中出现过,那么就可以使用。

7、minPrice、maxPrice、

Used to filter query results to only those items or offers which have prices above this minimum.

Used to filter query results to only those items or offers which have prices below this

对即将发送的查询请求加入价格区间限制。

8、attributeValue

Used to filter query results based on item properties. eBay Commerce Network API queries may return a list of attribute values, which can be used to filter a given list of items to a more manageable set. The resulting list can be further filtered by supplying additional attribute values. Searches by attribute value can be mixed with searches by keywords to help the user filter results to the desired item(s).

属性值集合,便于对返回的结果集进行进一步的筛选。比如:该字段返回brand、color、size相关参数集合,那么就可以按照Brand、或者color、或者size进行筛选。

9、showAllValuesForAttr

Request all values to be returned for a single attribute. Generally, a page will display a truncated list of values for the attributes being presented.�0�2 This is also useful when requesting attributes without values, as you need a way for the user to view the actual list of values should they want to filter results using that attribute.�0�2 Use this parameter to allow the user to select from among all possible values for an attribute (at least all values which are applicable to the result set.)

简而言之,提取出结果集中公有的属性集合。相当于对结果集中的每个元素进行取attributeValue,并返回attributeValue集合中的公有元素组成的新的集合。

10、productId

Searching by productId returns offers for a specific product. For a valid product ID, the API will return a single category, containing a single product, containing a list of offers.�0�2 Multiple productId parameters may be provided in a single request.

类似于ASIN,eBay中每一个商品条目都被标记唯一的productId

11、offerId

Searching by offerId returns a single offer matching the given ID. For a valid offer ID, the API will return a single category, containing a single offer.�0�2 Multiple offerId parameters may be provided in a single request, in which case, the returned category will be the lowest common ancestor of all offers returned.

It should also be noted that the eBay Commerce Network offer catalog is much more dynamic than the product catalog since it reflects available inventory, and as such, offer IDs will not be as stable as product IDs.�0�2 We suggest storing other relevant information along with the offer ID (e.g. product ID, category ID, attribute values, etc.) to allow displaying related results should an offer ID becomes invalid.

同个产品有多个价格,这个商品与每个价格组成一个OfferId,当一个请求中包含多个offerId时,以最低价格的为准,返回一个包含请求类别

12、groupItemsByCategory

Control whether or not items are separated into different categories. By default, searches don’t separate items by category. Instead, a single category (with id R20;0”) is returned containing items from different categories.

以分类方式分割不同的产品,当一个分类id是0,那么会返回其所有的产品(id为0是意思是所有分类也就是不限制分类)

13、numAttributes

The number of attributes to return in results which contain only one category. For any result composed of a single category containing a list of products or offers (not for the same product), the eBay Commerce Network API may provide attributes for filtering the results to more manageable sizes. By default, the API will return 0 attributes, which can be changed by using this parameter. However, any attributes above 5 will not include values unless you also set the numAttributesWithValues parameter. Note that attributes are never returned for offers under a single product, only for items at the category level.

返回一个集合中产品属性交集的元素个数

14、numAttributesWithValues

Control the number of attributes for which values will be returned. Requesting attributes without values (i.e.setting this parameter to a smaller value than numAttributes,) allows you to present the user with more filtering options while saving space on the page. By default, up to 5 attributes will include values.

设置属性默认显示的个数,比如

15、numValuesPerAttribute

Control the number of values to include with each attribute. Attribute values can be used to filter the list of items in a query result. By default, 5 values will be provided for each of the first 5 attributes returned.

设置过滤器中公有属性默认显示值得个数(比如设置nAWV为5那么 颜色显示:红白黄绿蓝 nAPV设置为1那么就是 颜色显示:红)

16、numCategories

When a search result contains multiple categories, the API will return up to 5 matching categories (within the relevance thresholds). If you would like more (or fewer) categories returned (still within the relevance thresholds), use the numCategories parameter. If, on the other hand, you would like to return all matching categories, regardless of relevance, use the showAllMatchingCategories parameter.

当你想限制返回集合中分类的个数,应该用numCategories限制返回分类个数,当需要返回所有的分类中的内容,应该使用showAllMatchingCategories 这个参数。

17、showAllMatchingCategories

Control whether or not this query will return all matching categories, regardless of relevance. When performing a keyword search, the eBay Commerce Network API will normally return 0 or more matching categories up to a relevance threshold. This means that even if the search engine finds 100 categories matching the keyword, it may only return a fraction of those if it determines that the remaining categories are outside of the relevance threshold. Setting the numCategories parameter to 100 will not change this behavior, as numCategories is overruled by relevance thresholds.

If you would like to see all matching categories (sorted alphabetically), regardless of relevance thresholds, use the showAllMatchingCategories parameter. Keep in mind, however, that due to the large number of categories normally returned, the API will not return items per category for this type of result. If, on the other hand, your keyword search has skipped to a single category, and you would simply like to see results from more than that one category (still subject to relevance thresholds), use the doSkipping parameter instead .

搜索时关键词相关度设置,0~100.

18、numItems

Control how many products and/or offers are returned within a category as well as the number of offers returned within a single product result. The only case where this parameter is not used is in the case where the showProductOffers option is being used to return offers for multiple products. In that case, the numOffersPerProduct parameter is the equivalent.

控制返回的产品数量

19、showProductOffers

Control whether or not offers are returned for each product in multi-product results. Normally when the API returns a product item, the offers for that product are not returned, unless the search engine has skipped to a single product. Instead, the API provides the product ID, which can be used to make a follow-up request for offers using a search by product ID query. If instead you would like offers included with every product returned, you can use the showProductOffers parameter.

如果showProductOffers选项为true,此参数控制搜索返回的结果包含多少个产品。

20、numOffersPerProduct

If the showProductOffers option is true, this parameter controls how many offers will be returned for each product when a search returns multiple products.

如果showProductOffers设置为true,那么这个参数可以控制显示不同型号的产品的数量。

21、showOffersOnly

Control whether search results should return only offers (i.e. no product information.) At the moment, showOffersOnly does not support searches across multiple categories, which means you can limit the search to offers only when searching by leaf-level category or product ID.

控制返回的结果是否只包含价格信息(不包含产品的其他信息)

22、showProductSpecs

Product specifications include data about products from the eBay Commerce Network catalog, including things such as MPN/UPC, weight, dimensions, or other features which may be unique to the specific product.�0�2 Generally, when products are returned in ECN API results, they only include a few details about the product itself, and then possibly a list of store offers.�0�2�0�2 This parameter will control the inclusion of complete specifications for the returned products in addition to any other information (offers, reviews) you have requested.

You can also do a side by side comparison of any number of products, simply by providing multiple productId parameters in the request, or by using this parameter along with a request which returns multiple products (generally, products should be from the same category, as a comparison of products from different categories would generally not be meaningful.)�0�2 Finally, if you only want product specifications, and don’t care about the store offers for those products, remember to set the parameter ‘showProductOffers’ to false (or set ‘numItems’ to 0 if making a single productId request.)

显示相同类别下几个产品的相同参数showProductOffers,可以进行同类产品的横向对比。

23、showProductReviews

Reviews are provided for many of the products in the eBay Commerce Network catalog courtesy of the Epinions community.�0�2 This parameter will allow you to retrieve product reviews with every product returned by the API (if available).�0�2 Each reviews section will contain the overall (average) rating, as well as a list of individual ratings, including the ‘pros’, ‘cons’, ‘bottom line’, and a short snippet of the full review text.�0�2 As with product specifications, if you only want product reviews, and don’t care about the store offers for those products, remember to set the parameter ‘showProductOffers’ to false (or set ‘numItems’ to 0 if making a single productId request.)

Any individual review displayed must include a link to the “full review” (which will be provided in the API response) as well as attribution to Epinions through the display of a logo and language that states R20;provided by Epinions”.�0�2 Also, the complete reviews information must be presented as it is returned by the API and cannot be altered.�0�2 Finally, reviews content must be enabled by your account manager, once you have reached traffic levels of 10,000 leads per month, and upon acceptance of an amendment to the original API agreement (which they will provide.)

可以提供一些产品的评论,但是只显示一部分,其他的内容将在后面跟上全部评论的链接。当该网站每个月能贡献10000次的访问量,那么将可以放放开这个限制。

24、numReviewsPerProduct

If the showProductReviews option is true, this parameter controls how many reviews will be returned for each product in the API results.

显示的评论数量

25、pageNumber

Set which page of results to return. When more results are available than are returned in a single query (indicated by a difference between the matchedCount and returnedCount) additional pages of results can be requested using the pageNumber parameter. Pagination currently only works for items returned by a leaf-level category search, a keyword search resulting in items across multiple categories, or the offers returned by a product ID search. You currently cannot paginate any results of a groupItemsByCategory=true keyword-only search, nor can you paginate the offers returned for each product when using the showProductOffers parameter.

在设置matchedCount和returnedCount这两个参数后,pageNumber将随之改变。但是请注意,这个参数不会对产品Offer产生影响(换而言之,这个只是对返回的产品集合中进行分页处理,不会对其他集合进行分页处理比如属性集合)

26、productReviewsPageNumber

Set which page of reviews to return for each product. When more reviews are available than are returned for a particular product, or list of products (indicated by a difference between the matchedReviewCount and returnedReviewCount) additional pages of reviews can be requested using the reviewsPageNumber parameter.�0�2 Generally, reviews pagination only makes sense in the context of a single product, as reviews will be paginated for all products present in the response (if applicable.)

在设置matchedReviewCount和returnedReviewCount这两个参数时,该字段才会显示作用。

27、doSkipping

Control whether or not the eBay Commerce Network search engine should R20;skip” directly to the most relevant category or product as a result of a keyword search, rather than providing a wider (but less relevant) selection of results across multiple categories. With skipping disabled, the set of categories returned by the API will still be limited to the most relevant. If instead, you would like to see all categories in which the keyword was found (not limited by relevance thresholds), use the showAllMatchingCategories parameter.

屏蔽包含某些关键词的产品,当需要显示所有产品的时候,需要使用showAllMatchingCategories这个参数。

28、postalCode

Set the postal code of the current user, for tax and shipping purposes. Tax and shipping costs will be provided along with each offer returned by the API (when available) if a valid postal code is included in the request. These costs will be added to the offer’s base price to calculate a total price, which is then used for sorting by price.

通过用户所在地区的邮政编码,提供运输到该地的运费以及运费与商品价格税费的综合价格,并按照合并后的价格排序。

29、itemsSortType

Set the method of sorting items at the category level . The API will return items ordered to maximize yield by default. If you would like to use a different method of ordering (e.g. the user requested to sort by price) for category level items, use the itemsSortType parameter to control the type of sorting, and the itemsSortOrder to control the direction of sorting. The available sort types are:

store-name – The name of the store providing this offer, sorted alphabetically.
store-rating – The average rating (between 0 and 5) of the store providing this offer, based on reviews by Epinions members.
product-rating – The average rating (between 0 and 5) of the product based on reviews by Epinions members.
price – The total price of the offer (base price if total price isn’t available.)
relevance – A score calculated by the eBay Commerce Network search engine to indicate how well the result relates to the search criteria, based on factors such as lexical relevance, user behavior, etc. The store’s bid is used in the case of a list of offers for a single product, since all offers are equally relevant.
yield – A calculation taking into account relevance, CPCs and other factors, in order to maximize the yield (or RPM) of a result.
Please note that some sort types may not be applicable in all results.�0�2 For instance, the ‘product-rating’ sort type would not apply to results containing only offers.�0�2 To address situations in which you need to request a default sort order without knowing the type of results which will be returned, you can chain multiple sort types together using a comma (e.g. itemsSortType=product-rating,store-rating), and the API will use the appropriate type.�0�2 There are separate sort type and sort order parameters for offers under products.

商品排序,通过store-name(商店title字母表顺序排序),sotre-rating(商店的评论评级),product-rating(产品的评论评级),price(价格排序),relevance(按照搜索引擎的相关度进行排序,包括用户行为在内的影响因子),yield(在契合产品的相关度下,尽可能提供高购买率的产品显示)

30、itemsSortOrder

Control whether results containing multiple items at the category level will be sorted in ascending or descending order.

该参数控制多个产品以产品类别的id进行排序。

31、productOffersSortType

Set the method of sorting offers at the product level . The API will return product offers ordered to maximize yield by default. If you would like to use a different type of ordering (e.g. the user requested to sort by price) for product offers, use the productOffersSortType parameter to control the method of sorting, and the productOffersSortOrder to control the direction of sorting. The available sort types are:

store-name – The name of the store providing this offer, sorted alphabetically.
store-rating – The average rating (between 0 and 5) of the store providing this offer, based on reviews by Epinions members.
price – The total price of the offer (base price if total price isn’t available.)
relevance – A score calculated by the eBay Commerce Network search engine to indicate how well the result relates to the search criteria, based on factors such as lexical relevance, user behavior, etc. The store’s bid is used in the case of a list of offers for a single product, since all offers are equally relevant.
yield – A calculation taking into account relevance, CPCs and other factors, in order to maximize the yield (or RPM) of a result.
There are separate sort type and sort order parameters for items at the category level.

与29同类,但默认提供的是收益最大化(利润率最高)的产品。

32、productOffersSortOrder

Control whether offers under products will be sorted in ascending or descending order.

通过价格升降序控制产品排列。

33、showSmartBuyOnly

The eBay Commerce Network Smart Buy is the lowest offer from a trusted store within the list of offers for any given product. By enabling the showSmartBuyOnly parameter, only the offer matching these criteria (if one exists) will be returned.

只通过eBay智能的返回商品列表,每件商品只返回一个eBay认为最合适的店铺的产品信息与价格。

34、showFeaturedOffersOnly

The eBay Commerce Network Featured Offers (or Featured Stores) are offers for which a store has paid for premium placement.�0�2 Use the showFeaturedOffersOnly parameter to request a list of featured offers in any search context.

只显示eBay特惠的产品或者是缴纳保证金的店铺的产品。

35、numFeatured

Set the maximum number of featured stores to include in a result, when using the showFeaturedOffersOnly parameter.By default, up to 3 featured stores will be included.

当使用showFeaturedOffersOnly参数后,该参数用来设置特色产品分类的个数。

36、productReviewsSortType

Control how to sort product reviews listings. The API will return product reviews ordered by review date by default.If you would like to use a different type of ordering (e.g. the user requested to sort by rating) for product reviews, use the productReviewsSortType parameter to control the type of sorting, and the productReviewsSortOrder to control the direction of sorting. The available sort types are:

review-date – The date (and time) the review was written.
product-rating – The authors overall rating (between 0 and 5) of the product.
productReviewsSortOrder

Control whether product reviews listings will be sorted in ascending or descending order.

可以按照评论时间、产品星级评分来升降序排列评论。默认是日期排列。

 

 

**********过期参数,不被生效与使用**********

Deprecated parameters
The following parameters have been deprecated with the migration to our new search engine.

offerSortType

offerSortOrder

productSortType

productSortOrder

hybridSortType

hybridSortOrder

The legacy sort parameters above have been replaced by the new itemsSortType, itemsSortOrder, productOffersSortType, and productOffersSortOrder.

showSmartBuy

Smart Buy offers are no longer included in normal search/browse results, and must now be requested independently with the showSmartBuyOnly parameter.

showSoftProducts

It is no longer possible to exclude soft products from API results.

showProductsWithoutOffers

It is currently not possible to include products without offers in search results.�0�2 However, it is still possible to request products without offers by ID.

doKeywordNormalization

This legacy parameter has been split into the new doSpellChecking and yet to be released doAndSearch parameters.

doSpellChecking

Control whether or not submitted keywords should be spell-checked by the search engine.�0�2 Enabled by default, and using is suggested, especially if you are passing user-entered keywords.

Option availability by search method
The eBay Commerce Network is trying to ensure every option is available in every use case it would makes sense. Some limitations, however, were not immediately addressable, and we are currently working hard to R20;plug these holes.” In the meantime, this chart shows which options are usable in offerId, productId, categoryId, and keyword searches.

eBay Commerce Network如果嫌弃慢的话,小生特意反代了一下源站,速度更快,点此查看

IE6,IE7,IE8css bug集合-Hack必知必会大全

概述

IE浏览器以不支持大量的css 属性出名,同时也因其支持的css属性中存在大量bug

本页列举了IE下的一些问题,实例样本和一些我们已知的解决方法。

尽管我已经尽力按照它们本来的性质对它们进行分类,仍有许多bug可以分在好几个部分之下,这种情况下,我将会将此bug分在普通bug这一部分。

统计

目前为止。本站点包含46个”普通bug”教程,5个”haslayout bug”教程,6个”不支持的方法”教程,一个“冲突bug”教程。总共58个教程,70个解决方法。

最近的教程发布于2009年8月19日 15:38:47 星期三

站点包含44个IE6 bug,28个IE7 bug以及19个IE8 bug。

注意版本

在教程中你会看到诸如“影响:IE8和所有以下”或“修复:所有版本”。这里的“所有”意思是IE6,IE7和IE8。 IE5和IE5.5已经是历史了,本网站没有考虑这些版本的教程和解决方案的。

普通bug

此部分包含的是那些不能快速定位为其他部分或是可以同时归类到两部分或更多部分的bug。

Continue reading