You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Chris A. Mattmann (JIRA)" <ji...@apache.org> on 2007/09/27 19:34:50 UTC

[jira] Closed: (TIKA-36) A convenience method for getting a document's content's text would be helpful.

     [ https://issues.apache.org/jira/browse/TIKA-36?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris A. Mattmann closed TIKA-36.
---------------------------------


Patch applied with no changes in r580110. Thanks Keith!

http://svn.apache.org/viewvc?rev=580110&view=rev



> A convenience method for getting a document's content's text would be helpful.
> ------------------------------------------------------------------------------
>
>                 Key: TIKA-36
>                 URL: https://issues.apache.org/jira/browse/TIKA-36
>             Project: Tika
>          Issue Type: New Feature
>          Components: general
>    Affects Versions: 0.1-incubator
>            Reporter: Keith R. Bennett
>            Assignee: Chris A. Mattmann
>            Priority: Minor
>             Fix For: 0.1-incubator
>
>         Attachments: tika-36.patch
>
>
> Currently, to get a parsed document's content value (e.g. title), one must do something like this:
>         Content content = getContent(name);
>         return content != null
>                 ? content.getValue()
>                 : null;
> I'd like to suggest we create a method that does that in one place, so that users do not need to do that themselves.
> Patch coming momentarily...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Closed: (TIKA-36) A convenience method for getting a document's content's text would be helpful.

Posted by Chris Mattmann <ch...@jpl.nasa.gov>.
Hey Doug,

 Yep you're right about that. Force of habit, heh. Jerome got me doing this
since I started on Nutch, but it's just replicated information since we have
the JIRA-SVN plugin. I'll omit the viewvc Url from the JIRA close issue
messages going forward.

 Thanks.

Cheers, 
 Chris



On 9/27/07 11:35 AM, "Doug Cutting" <cu...@apache.org> wrote:

> Chris A. Mattmann (JIRA) wrote:
>> Patch applied with no changes in r580110. Thanks Keith!
>> 
>> http://svn.apache.org/viewvc?rev=580110&view=rev
> 
> Note that, if you mention the Jira issue ID in the commit message (as
> you did) then Jira will automatically link to the SVN revision.  Use the
> "All" tab to see these links.  So there's no need to explicitly paste
> them into Jira, so long as you're consistent about including the Jira
> issue ID in commit messages.
> 
> Doug

______________________________________________
Chris Mattmann, Ph.D.
Chris.Mattmann@jpl.nasa.gov
Cognizant Development Engineer
Early Detection Research Network Project

_________________________________________________
Jet Propulsion Laboratory            Pasadena, CA
Office: 171-266B                     Mailstop:  171-246
_______________________________________________________

Disclaimer:  The opinions presented within are my own and do not reflect
those of either NASA, JPL, or the California Institute of Technology.



Re: [jira] Closed: (TIKA-36) A convenience method for getting a document's content's text would be helpful.

Posted by Doug Cutting <cu...@apache.org>.
Chris A. Mattmann (JIRA) wrote:
> Patch applied with no changes in r580110. Thanks Keith!
> 
> http://svn.apache.org/viewvc?rev=580110&view=rev

Note that, if you mention the Jira issue ID in the commit message (as 
you did) then Jira will automatically link to the SVN revision.  Use the 
"All" tab to see these links.  So there's no need to explicitly paste 
them into Jira, so long as you're consistent about including the Jira 
issue ID in commit messages.

Doug