You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@any23.apache.org by Lewis John Mcgibbney <le...@gmail.com> on 2012/02/14 21:19:49 UTC

Support for Rel-Tag within Any23

Hi Guys,

Do we maintain a parser for the above rel-tag [1] format?

I'm doing some work with Nutch and wonder if when I write this plugin the
rel-tag one we maintain over the will be deprecated.

Thanks

Lewis

[1] http://microformats.org/wiki/Rel-Tag

-- 
*Lewis*

Re: Support for Rel-Tag within Any23

Posted by Lewis John Mcgibbney <le...@gmail.com>.
Hi Michele,

On Thu, Feb 16, 2012 at 11:26 PM, Michele Mostarda <
michele.mostarda@gmail.com> wrote:

>
> If you look at "readTextField(Node node)" method in HTMLDocument.java [1]
> or "extractRelTag(String hrefAttributeContent)", you can see that rel-tag
> is extracted
> to build complex Microformats.
> I'm not sure that rel-tag can be used alone (and the documentation tonight
> is unreachable...).
>

I don't know enough about it and need to dig in to the code so thanks for
adding this.

Lewis

Re: Support for Rel-Tag within Any23

Posted by Michele Mostarda <mi...@gmail.com>.
Hi Lewis,

On 14 February 2012 22:01, Lewis John Mcgibbney
<le...@gmail.com>wrote:

> I think I've found it myself.
>
>
 This is the list of current Extractors:

http://incubator.apache.org/any23/extractors.html

No! we currently support the following Microformats:
>

> Adr, Geo, hCalendar, hCard, hListing, hResume, hReview, License, XFN and
> Species


> Would it be beneficial to try and integrate the rel-tag microformat into
> Any23?
>

If you look at "readTextField(Node node)" method in HTMLDocument.java [1]
or "extractRelTag(String hrefAttributeContent)", you can see that rel-tag
is extracted
to build complex Microformats.
I'm not sure that rel-tag can be used alone (and the documentation tonight
is unreachable...).

Anyway the implementation of a dedicated Extractor should be easy.


>
> This way we could drop it from Nutch, integrate it into the Any23 microdata
> parser implementation and and just use it within the parse-any23 Nutch
> plugin.
>
> ???
>

Mic

[1]
https://svn.apache.org/repos/asf/incubator/any23/trunk/core/src/main/java/org/apache/any23/extractor/html/HTMLDocument.java


>
> On Tue, Feb 14, 2012 at 8:19 PM, Lewis John Mcgibbney <
> lewis.mcgibbney@gmail.com> wrote:
>
> > Hi Guys,
> >
> > Do we maintain a parser for the above rel-tag [1] format?
> >
> > I'm doing some work with Nutch and wonder if when I write this plugin the
> > rel-tag one we maintain over the will be deprecated.
> >
> > Thanks
> >
> > Lewis
> >
> > [1] http://microformats.org/wiki/Rel-Tag
> >
> > --
> > *Lewis*
> >
> >
>
>
> --
> *Lewis*
>



-- 
Michele Mostarda
Senior Software Engineer
skype: michele.mostarda
twitter: micmos
mail: me@michelemostarda.com
site : http://www.michelemostarda.com

Re: Support for Rel-Tag within Any23

Posted by Lewis John Mcgibbney <le...@gmail.com>.
I think I've found it myself.

No! we currently support the following Microformats:

Adr, Geo, hCalendar, hCard, hListing, hResume, hReview, License, XFN and
Species

Would it be beneficial to try and integrate the rel-tag microformat into
Any23?

This way we could drop it from Nutch, integrate it into the Any23 microdata
parser implementation and and just use it within the parse-any23 Nutch
plugin.

???

On Tue, Feb 14, 2012 at 8:19 PM, Lewis John Mcgibbney <
lewis.mcgibbney@gmail.com> wrote:

> Hi Guys,
>
> Do we maintain a parser for the above rel-tag [1] format?
>
> I'm doing some work with Nutch and wonder if when I write this plugin the
> rel-tag one we maintain over the will be deprecated.
>
> Thanks
>
> Lewis
>
> [1] http://microformats.org/wiki/Rel-Tag
>
> --
> *Lewis*
>
>


-- 
*Lewis*