In this particular example what you really wanted was 1 URL for the
book and 1 URL for the author, right? This should work:
<div itemscope itemtype="http://schema.org/Book">
<a itemprop="url"
href="http://www.example.com/The_Count_of_Monte_Cristo"><span
itemprop="name">The Count of Monte Cristo</span></a> by
<span itemprop="author" itemscope
itemtype="http://schema.org/Person"><a itemprop="url"
href="http://www.example.com/Dumas"><span
itemprop="name">Dumas</span></a></span>.
</div>
--
Philip Jägenstedt
I asked about this in
http://groups.google.com/group/schemaorg-discussion/browse_thread/thread/95dfc4aa1ab89dbf
Guha replied that "Right now, it is always allowed to have multiple values."
The markup for it is simple, just specify the same property twice:
<div itemscope itemtype="http://schema.org/Book">
<a itemprop="url" href="http://www.example.com/foo"></a>
<a itemprop="url" href="http://www.example.com/bar"></a>
</div>
--
Philip Jägenstedt
On 7月27日, 下午7时59分, David Beaumont <dbeaum...@google.com> wrote:
> Philip Jägenstedt wrote:
> > On Sat, Jul 16, 2011 at 16:49, jreyest <jrey...@gmail.com> wrote:
> > > How if I have two URLS for a book? One for the author and one for the title
> > > book. Is it correct something like this?
> > > <div itemscope itemtype="http://schema.org/Book">
> > > <a itemprop="url"
> > > href="http://www.example.com/The_Count_of_Monte_Cristo"><span
> > > itemprop="name">The Count of Monte Cristo</span></a> by
> > > <a itemprop="url"
> > > href="http://www.example.com/Dumas"><span itemprop="author">Dumas</span></a>.
> > > </div>
>
> > In this particular example what you really wanted was 1 URL for the
> > book and 1 URL for the author, right? This should work:
>
> > <div itemscope itemtype="http://schema.org/Book">
> > <a itemprop="url"
> > href="http://www.example.com/The_Count_of_Monte_Cristo"><span
> > itemprop="name">The Count of Monte Cristo</span></a> by
> > <span itemprop="author" itemscope
> > itemtype="http://schema.org/Person"><a itemprop="url"
> > href="http://www.example.com/Dumas"><span
> > itemprop="name">Dumas</span></a></span>.
> > </div>
>
> 但是,如果你为一个项目有两个网址,可以标记他们两人(*),或你必须只标记之一 。
>
> 欢呼声, 大卫
>
> * -我不介意一些代理商忽略所有,但其中一个图像,但我不希望它是一个错误 。