Hey Jenda,

Actually yes - here is a list of features the module will have in V 0.01:

  1. Given the HTML of a page
    1. Find all anchor elements - broken into "this domain links" and "other domain links".
    2. Find images on a page - broken as above.
    3. Find the Title, description and other such meta data.
    4. Find meta keywords and description of the page.
    5. Extract lists (ul and ol) from the HTML of a page
    6. Find RSS Feeds of a page, if any.
    7. anything else I / You guys can think of ...
  2. Split up an anchor tag into : The URL, the alt text and the anchor text.
  3. Given possible anchor/alt text find the related link. [Given Home -  <a href=""> home page </a> will be extracted.
  4. Given a potentially relative URL and the current URL, returns the absolute URL.
  5. Given a potential redirecting URL, returns the final destination URL.
  6. Breaks up a URL into Protocol, domain and URI

I am still looking for additional features I can add. So please do suggest anything else you can think of


In reply to Re^3: RFC: URI::URL::Detail by tmharish
in thread RFC: URI::URL::Detail by tmharish

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.