Results 1 to 3 of 3
  1. #1
    stargazerr is offline Member
    Join Date
    Feb 2009
    Posts
    5
    Rep Power
    0

    Default Java Classes to help extract metadata from Web pages

    Hi,

    I have a bit of a unique problem. I am trying to write a program that can extract the Title, date and author from an online news article.

    Are there any built in classes in the Java libraries that would allow me to do this ?? This is a bit urgent and any help on this would be greatly appreciated.

    Thanks

  2. #2
    emceenugget is offline Senior Member
    Join Date
    Sep 2008
    Posts
    564
    Rep Power
    7

    Default

    look up html parsers that you can use with your program. i've only done xml parsing and that was a year ago, so i don't remember much about it, but here's what a quick google search on "java html parser" got me: Open Source HTML Parsers in Java

  3. #3
    stargazerr is offline Member
    Join Date
    Feb 2009
    Posts
    5
    Rep Power
    0

    Default

    Thanks a million emceenugget :) .. Absolute Legend :)

    This will help a lot. I will give HTML parsing a shot tonite.

    In the meanwhile, I have actually never done this. This is my first time trying metadata extraction from web pages. Would you or anyone on this forum know of an example program I can study that does something similar to extracting data from a news article ?? It will give me some insight into how to do this.

    Much appreciated.

Similar Threads

  1. Java Server Pages
    By ninian in forum JavaServer Pages (JSP) and JSTL
    Replies: 3
    Last Post: 12-20-2008, 03:49 AM
  2. Replies: 3
    Last Post: 12-09-2008, 09:17 AM
  3. Java Extract PDF data from location XY
    By Unite in forum Advanced Java
    Replies: 1
    Last Post: 06-30-2008, 02:31 PM
  4. Java Server Pages (I)
    By Java Tutorial in forum Java Tutorial
    Replies: 0
    Last Post: 02-17-2008, 12:17 PM
  5. Extract Text from PDF File using java
    By TSW1016 in forum Advanced Java
    Replies: 5
    Last Post: 01-07-2008, 12:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •