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 (JIRA)" <ji...@apache.org> on 2014/10/23 19:38:34 UTC

[jira] [Commented] (ANY23-240) Option to process html tags as spaces in Microdata

    [ https://issues.apache.org/jira/browse/ANY23-240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14181619#comment-14181619 ] 

Lewis John McGibbney commented on ANY23-240:
--------------------------------------------

bq. Is it possible to implement this behavior (replacing <br> tags with spaces) in any23 as an option?
It sure is :)
The more I work with Any23, the more cases I find where it is appealing to be more 'flexible' about issues such as the one you have raised.
If you could create a pull request for the codebase, I will review. It would be fantastic if you could provide a simple tests to verify that this has been fixed.
Thanks

> Option to process html tags as spaces in Microdata
> --------------------------------------------------
>
>                 Key: ANY23-240
>                 URL: https://issues.apache.org/jira/browse/ANY23-240
>             Project: Apache Any23
>          Issue Type: Improvement
>          Components: extractors, microdata
>            Reporter: Andrey Kutuzov
>             Fix For: 1.2
>
>
> When extracting Microdata from html pages, any23 silently drops all html tags inside predicates' values. See, for example, http://schema.org/Recipe/ingredients at http://kuking.net/3_2070.htm.
> The problem is that on this page (and many others) ingredients are separated from each other only with '<br>' tag. After any23 drops it, the content becomes mixed and unintelligible. At the same time, Google Structured Data Testing Tool separates them properly with spaces.
> Is it possible to implement this behavior (replacing <br> tags with spaces) in any23 as an option?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)