Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Site scraper alert: new article layout

Site scraper alert: new article layout

Scheduled Pinned Locked Moved The Lounge
c++htmlcombeta-testingjson
30 Posts 11 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Chris Maunder

    To all those who have written site scrapers because I'm too snowed under to get you your API, a warning: beta.codeproject.com has the latest build and has a new article layout so if you wish to update your code to work with the new markup now's your chance. Upload as soon as I've slept.

    cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

    S Offline
    S Offline
    Slacker007
    wrote on last edited by
    #20

    I noticed that when I vote for an article the stars at the top do not update unless I manually refresh the page. I also noticed that when I then bookmarked the article the stars disappeared completely and only reappeared once I refreshed the page. Windows XP SP2 w/IE 7

    C 1 Reply Last reply
    0
    • A Andrew Rissing

      It actually feels a little more 'zippy' than the main site. I'm not sure if that's just because it is on a separate web farm or if it is just faster. :) Btw, what happened to the http://alpha.codeproject.com/[^] version?

      A Offline
      A Offline
      AspDotNetDev
      wrote on last edited by
      #21

      Andrew Rissing wrote:

      what happened to the http://alpha.codeproject.com/\[^\] version?

      After over 10 years of development, Code Project Forever has finally come out of alpha. :-D

      [Forum Guidelines]

      C 1 Reply Last reply
      0
      • L Luc Pattyn

        Please don't mention the WsW ever again. :)

        Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

        Please use <PRE> tags for code snippets, and update CP Vanity to V2.0 if you haven't already.

        N Offline
        N Offline
        Nish Nishant
        wrote on last edited by
        #22

        Oh sorry! :laugh:

        Regards, Nish


        My technology blog: voidnish.wordpress.com

        1 Reply Last reply
        0
        • N Nish Nishant

          Have the Who's Who pages changed?

          Regards, Nish


          My technology blog: voidnish.wordpress.com

          C Offline
          C Offline
          Chris Maunder
          wrote on last edited by
          #23

          Apart from fixing a dumb HTML mistake John pointed out, no. (so, actually, yes. Slightly)

          cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

          1 Reply Last reply
          0
          • L Luc Pattyn

            Thanks for the advance notice. No problem whatsoever, I'm not scraping article pages at all. FWIW: I think it again looks better, with a more structured title block. I like the stars. Minor comments: 1. there is a bug where sometimes (had it twice in 5 visits), not sure when/how/why, a tooltip (I think it was "Discuss this article") is already showing when the page opens up, dislocating the "print", "bookmark", "discuss", "report" icons. 2. The pink background seems like a step backward, the white one was more modern IMO. I would opt for a white title box, with an orange border, and containing the new content as is (so the previous style and the latest layout). 3. the spacing between "Edit", "Delete", "Get HTML" could be improved (e.g. by adding a space and a nbsp between edit and delete) 4. The stars should support partial fill, i.e. 4.31 and 4.49 would show differently (that would take them to be rendered separately and chosen from a collection of some 6 to 11 different star symbols). :)

            Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

            Please use <PRE> tags for code snippets, and update CP Vanity to V2.0 if you haven't already.

            C Offline
            C Offline
            Chris Maunder
            wrote on last edited by
            #24

            1. I'll keep my eye open for it 2. Pink? Where? It's a light tan here. 3. Will add 4. They do. The stars are a single transparent gif. I draw a fill rectangle behind them. The stars fill up accordingly. It's not as obvious when you are close to a whole unit, but anything between 0.25 and 0.75 will show the effect.

            cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

            L 1 Reply Last reply
            0
            • A AspDotNetDev

              Andrew Rissing wrote:

              what happened to the http://alpha.codeproject.com/\[^\] version?

              After over 10 years of development, Code Project Forever has finally come out of alpha. :-D

              [Forum Guidelines]

              C Offline
              C Offline
              Chris Maunder
              wrote on last edited by
              #25

              Tentatively out of alpha.

              cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

              1 Reply Last reply
              0
              • C Chris Maunder

                1. I'll keep my eye open for it 2. Pink? Where? It's a light tan here. 3. Will add 4. They do. The stars are a single transparent gif. I draw a fill rectangle behind them. The stars fill up accordingly. It's not as obvious when you are close to a whole unit, but anything between 0.25 and 0.75 will show the effect.

                cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                L Offline
                L Offline
                Luc Pattyn
                wrote on last edited by
                #26

                More on the same: 1. it is 4 out of 7 now; I have screen shots and can reproduce: - using FF3.6, open an article in the current style (www.codeproject.com/...) - move mouse to URL textbox, edit to beta, hit ENTER (so mouse clearly is not within the article at any time) - article shows with either "Discuss this article" or "report this article as inappropriate" tooltip showing I have mailed you a screen shot. 2. OK, it is R=252,G=243,B=226; pretty close to Color.Linen 4. Noticed it now you said it; the intentions are good, however I think it would work better when the empty stars would have a thinner outline. :)

                Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

                Please use <PRE> tags for code snippets, and update CP Vanity to V2.0 if you haven't already.

                modified on Tuesday, December 7, 2010 7:16 PM

                C 1 Reply Last reply
                0
                • A Andrew Rissing

                  It actually feels a little more 'zippy' than the main site. I'm not sure if that's just because it is on a separate web farm or if it is just faster. :) Btw, what happened to the http://alpha.codeproject.com/[^] version?

                  L Offline
                  L Offline
                  Luc Pattyn
                  wrote on last edited by
                  #27

                  Andrew Rissing wrote:

                  what happened to the http://alpha.codeproject.com/\[^\] version?

                  Why, they forgot to move it to the new location obviously. :)

                  Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

                  Please use <PRE> tags for code snippets, and update CP Vanity to V2.0 if you haven't already.

                  1 Reply Last reply
                  0
                  • L Luc Pattyn

                    More on the same: 1. it is 4 out of 7 now; I have screen shots and can reproduce: - using FF3.6, open an article in the current style (www.codeproject.com/...) - move mouse to URL textbox, edit to beta, hit ENTER (so mouse clearly is not within the article at any time) - article shows with either "Discuss this article" or "report this article as inappropriate" tooltip showing I have mailed you a screen shot. 2. OK, it is R=252,G=243,B=226; pretty close to Color.Linen 4. Noticed it now you said it; the intentions are good, however I think it would work better when the empty stars would have a thinner outline. :)

                    Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

                    Please use <PRE> tags for code snippets, and update CP Vanity to V2.0 if you haven't already.

                    modified on Tuesday, December 7, 2010 7:16 PM

                    C Offline
                    C Offline
                    Chris Maunder
                    wrote on last edited by
                    #28

                    1. I think this is due to the stylesheet being loaded from the same server (beta) instad of from s.codeproject.com, meaning the browser is less able to load in parallel. However, it's extremely odd it's only one of the bubbles, not all. I've been playing with it and, unfortunately, can't replicate. I'll keep trying. 4. I originally had very thin stars but they looked really jagged. I'll probably have to redraw them by hand and tweak the anti-aliasing.

                    cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                    L 1 Reply Last reply
                    0
                    • C Chris Maunder

                      1. I think this is due to the stylesheet being loaded from the same server (beta) instad of from s.codeproject.com, meaning the browser is less able to load in parallel. However, it's extremely odd it's only one of the bubbles, not all. I've been playing with it and, unfortunately, can't replicate. I'll keep trying. 4. I originally had very thin stars but they looked really jagged. I'll probably have to redraw them by hand and tweak the anti-aliasing.

                      cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                      L Offline
                      L Offline
                      Luc Pattyn
                      wrote on last edited by
                      #29

                      1. that sounds like the definition of a timing hazard. You need synchronization then, not more hardware. :laugh: I always wondered why you had the s-domain. :)

                      Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

                      Please use <PRE> tags for code snippets, and update CP Vanity to V2.0 if you haven't already.

                      1 Reply Last reply
                      0
                      • S Slacker007

                        I noticed that when I vote for an article the stars at the top do not update unless I manually refresh the page. I also noticed that when I then bookmarked the article the stars disappeared completely and only reappeared once I refreshed the page. Windows XP SP2 w/IE 7

                        C Offline
                        C Offline
                        Chris Maunder
                        wrote on last edited by
                        #30

                        Bookmarking is now more elegant.

                        cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups