SitePoint Sponsor

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 25 of 31
  1. #1
    SitePoint Addict
    Join Date
    Mar 2003
    Location
    New York city
    Posts
    212
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how to display articles on a website?

    I am in the midst of a re-design of a web site. The current site has lists of articles (about 20-30) and they would like to have these articles which are about 3-5 pages long, readable and/or printable by visitors. What is the best and easest way to do this?

    Jerry

  2. #2
    Original Gangster silver trophy Thing's Avatar
    Join Date
    Oct 2000
    Location
    Philadelphia, PA
    Posts
    4,708
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I would just display them in a list with the most current at the top. Use a smaller font so they are not so messy. Maybe make a table with 2 columns and have 10-15 in each column

  3. #3
    SitePoint Addict
    Join Date
    Mar 2003
    Location
    New York city
    Posts
    212
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Actually, they want to display the entire article(s) not just a list of the titles!


    Jerry

    Quote Originally Posted by williamsba
    I would just display them in a list with the most current at the top. Use a smaller font so they are not so messy. Maybe make a table with 2 columns and have 10-15 in each column

  4. #4
    Original Gangster silver trophy Thing's Avatar
    Join Date
    Oct 2000
    Location
    Philadelphia, PA
    Posts
    4,708
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Thats going to be more complicated to keep is neat and clean. What about maybe a tree structure? They can click the + next to the article and it will expand to show the entire article.

  5. #5
    SitePoint Addict
    Join Date
    Mar 2003
    Location
    New York city
    Posts
    212
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I guess what I want to know is how I should take these articles. which I assume are in some sort of word processing documents, and put them on the web. Should I use Word's convert to html utility or perhaps convert them to pdf files? Once I get them into html I could have a link from the list to the actual artice to diplay them.



    Quote Originally Posted by williamsba
    Thats going to be more complicated to keep is neat and clean. What about maybe a tree structure? They can click the + next to the article and it will expand to show the entire article.

  6. #6
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    No, don't use Word's HTML!* If you want a printable version of the articles, then use PDF or use HTML with a print-media stylesheet. That way, you can set up page breaks where you want to and you have better control over the font sizes than with screen CSS (hint: use points).

    * Unless you use some kind of "tidy" tool, like Dreamweaver's "Clean up Word HTML" feature.

  7. #7
    SitePoint Addict
    Join Date
    Mar 2003
    Location
    New York city
    Posts
    212
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am planning to use a print-media style sheet and css formating. The problem is getting the article into html from a word document. I suppose I could clean it up by hand. Unfortunatly, I don't have Dreamweaver as I mainly code by hand or a simple web text editor. (pagespinner).



    Quote Originally Posted by vgarcia
    No, don't use Word's HTML!* If you want a printable version of the articles, then use PDF or use HTML with a print-media stylesheet. That way, you can set up page breaks where you want to and you have better control over the font sizes than with screen CSS (hint: use points).

    * Unless you use some kind of "tidy" tool, like Dreamweaver's "Clean up Word HTML" feature.

  8. #8
    SitePoint Member FreMEliCa's Avatar
    Join Date
    Jun 2003
    Location
    Canada
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cool

    I don't know how well this works (I've only seen it several times). But I have used the other tools this guy has written which work really well.

    http://www.textism.com/wordcleaner/

    Free is always good, right?

  9. #9
    SitePoint Addict
    Join Date
    Mar 2003
    Location
    New York city
    Posts
    212
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just tried it. I converted a test page using word's save as web page but the program doesn't seem to recognize it as a web page????


    Jerry

    P.S. I can't believe how much code "save as a web page" generates!!

    Quote Originally Posted by FreMEliCa
    I don't know how well this works (I've only seen it several times). But I have used the other tools this guy has written which work really well.

    http://www.textism.com/wordcleaner/

    Free is always good, right?

  10. #10
    Original Gangster silver trophy Thing's Avatar
    Join Date
    Oct 2000
    Location
    Philadelphia, PA
    Posts
    4,708
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    No, don't use Word's HTML!*
    Guess you missed this

    Word outputs the absolute WORST HTML code you will ever see.

  11. #11
    SitePoint Addict
    Join Date
    Mar 2003
    Location
    New York city
    Posts
    212
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What then should I use to convert to html???
    Quote Originally Posted by williamsba
    Guess you missed this

    Word outputs the absolute WORST HTML code you will ever see.

  12. #12
    Caveat surfer Buddy Bradley's Avatar
    Join Date
    May 2003
    Location
    Cambridge, UK
    Posts
    2,366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Use your hands.

    How hard/time-consuming can it be to C+P it into a text editor, then go through adding </p><p> at each line break?

  13. #13
    SitePoint Zealot
    Join Date
    Mar 2003
    Location
    Morges Switzerland
    Posts
    102
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There is a small tool: Office 2000 HTML Filter 2.0

    This removes a lot of the rubbish.

    wimb

  14. #14
    SitePoint Addict
    Join Date
    Mar 2003
    Location
    New York city
    Posts
    212
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There are some thirty or so articles of 3-5 pages in length. I imagine that could be time consuming.


    Jerry
    Quote Originally Posted by Buddy Bradley
    Use your hands.

    How hard/time-consuming can it be to C+P it into a text editor, then go through adding </p><p> at each line break?

  15. #15
    SitePoint Addict
    Join Date
    Mar 2003
    Location
    New York city
    Posts
    212
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That is only for windows and I have a Mac.
    Quote Originally Posted by wimb
    There is a small tool: Office 2000 HTML Filter 2.0

    This removes a lot of the rubbish.

    wimb

  16. #16
    Original Gangster silver trophy Thing's Avatar
    Join Date
    Oct 2000
    Location
    Philadelphia, PA
    Posts
    4,708
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Actually, they want to display the entire article(s) not just a list of the titles!

    There are some thirty or so articles of 3-5 pages in length. I imagine that could be time consuming.
    So you want to display 30 articles of 3-5 pages each:

    *does numbers in head*

    hmmm carry the 1, drop the 5.....

    Thats a minimum of 150 pages on ONE html page!! I think you should rethink making each article a link. No one will sift through a 150 page length html page.

  17. #17
    Ensure you finish what you sta bronze trophy John Colby's Avatar
    Join Date
    Aug 2003
    Location
    University of Central England, U.K.
    Posts
    487
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by jerrynyc
    What then should I use to convert to html???
    Take your word document in word, copy it (for security) then do a find/replace:

    find ^p^p
    replace with ^p

    Repeat until no more changes (^p is the return symbol)

    Then another find/replace

    find ^p
    replace with </p>^p<p>



    Then copy the lot, paste special as text into your HTML editosr and put a <p> at the beginning and a </p> at the end

    Then any headings you'll have to replace by hand.

    Not long at all - clean code.

    P.S. this is how I do it.
    John
    No electrons were harmed during the creation, transmission
    or reading of this posting. However, many were excited and
    some may have enjoyed the experience.

  18. #18
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,653
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Have done alot of word->HTML conversions. I would download Dreamweaver MX2004 trial edition and use its import features. Pasting a word doc into the design mode results in almost-livable HTML.

    WWB

  19. #19
    SitePoint Addict
    Join Date
    Mar 2003
    Location
    New York city
    Posts
    212
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Now that sounds like a great idea. Do you happen to know what word's symbols are for bold and italics?
    Quote Originally Posted by John Colby
    Take your word document in word, copy it (for security) then do a find/replace:

    find ^p^p
    replace with ^p

    Repeat until no more changes (^p is the return symbol)

    Then another find/replace

    find ^p
    replace with </p>^p<p>



    Then copy the lot, paste special as text into your HTML editosr and put a <p> at the beginning and a </p> at the end

    Then any headings you'll have to replace by hand.

    Not long at all - clean code.

    P.S. this is how I do it.

  20. #20
    SitePoint Addict
    Join Date
    Mar 2003
    Location
    New York city
    Posts
    212
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I didn't say that I wanted to put them on the same page. I will have a page of links to each article which will in turn have their own page.
    Quote Originally Posted by williamsba
    So you want to display 30 articles of 3-5 pages each:

    *does numbers in head*

    hmmm carry the 1, drop the 5.....

    Thats a minimum of 150 pages on ONE html page!! I think you should rethink making each article a link. No one will sift through a 150 page length html page.

  21. #21
    Original Gangster silver trophy Thing's Avatar
    Join Date
    Oct 2000
    Location
    Philadelphia, PA
    Posts
    4,708
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Actually, they want to display the entire article(s) not just a list of the titles!
    I guess I thought thats what you were trying to say. You should use a tree structure, easy to make, easy to navigate!

  22. #22
    SitePoint Addict
    Join Date
    Mar 2003
    Location
    New York city
    Posts
    212
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think I have found a solution.
    1. First use words convert to web but save as a filtered page. This has far far less garbage in the file.
    2. Then use wordcleaner to clean it up. http://www.textism.com/wordcleaner/
    This only leaves the <P>, <B> and the <i> tags.
    This seems the best way to go.
    Jerry

  23. #23
    SitePoint Addict
    Join Date
    Mar 2003
    Location
    New York city
    Posts
    212
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm not exactly sure what you mean by a tree structure.
    Quote Originally Posted by williamsba
    I guess I thought thats what you were trying to say. You should use a tree structure, easy to make, easy to navigate!

  24. #24
    Ensure you finish what you sta bronze trophy John Colby's Avatar
    Join Date
    Aug 2003
    Location
    University of Central England, U.K.
    Posts
    487
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by jerrynyc
    Now that sounds like a great idea. Do you happen to know what word's symbols are for bold and italics?
    Find them all out in word. Open a document, CTRL-F to find and replace, hit the more button, hit the special button and a list will pop up - select them in turn to find out what you can and can't do.
    John
    No electrons were harmed during the creation, transmission
    or reading of this posting. However, many were excited and
    some may have enjoyed the experience.

  25. #25
    Ensure you finish what you sta bronze trophy John Colby's Avatar
    Join Date
    Aug 2003
    Location
    University of Central England, U.K.
    Posts
    487
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by jerrynyc
    I'm not exactly sure what you mean by a tree structure.
    Try http://www.lvsonline.com/dirs/index.shtml
    John
    No electrons were harmed during the creation, transmission
    or reading of this posting. However, many were excited and
    some may have enjoyed the experience.


Bookmarks

Posting Permissions

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