extracting HTML fragments and counting words

Discussion in 'Python' started by Ksenia Marasanova, Feb 18, 2005.

  1. Hi,

    I want to show preview of several HTML formatted newsitems on one
    page, preserving markup (and images) intact, but showing not more
    thatn X first _readable_ words of every page. Is anyone aware of some
    Python library that makes programming this easy? I already started to
    program it with Beautiful Soup, but maybe there is a more easy way...

    Thanks!
    --
    Ksenia
     
    Ksenia Marasanova, Feb 18, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Roger Varley

    Extracting XML fragments

    Roger Varley, Sep 2, 2003, in forum: Java
    Replies:
    3
    Views:
    752
    Toddy Marx
    Sep 4, 2003
  2. Francois
    Replies:
    13
    Views:
    617
    Will Hartung
    Oct 14, 2004
  3. Luigi Donatello Asero

    Fragments broken

    Luigi Donatello Asero, Jul 19, 2004, in forum: HTML
    Replies:
    0
    Views:
    456
    Luigi Donatello Asero
    Jul 19, 2004
  4. Hugh Sparks
    Replies:
    0
    Views:
    376
    Hugh Sparks
    Jul 30, 2004
  5. Phil_Harvey
    Replies:
    9
    Views:
    118
    Phil_Harvey
    Apr 22, 2006
Loading...

Share This Page