• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

test please delete

Collapse
This is a sticky topic.
X
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Originally posted by zeitghost View Post
    But I've still got all my fingers (currently).
    You are not Diver and I claim my £5

    Comment


      Originally posted by zeitghost View Post
      And I thought I was odd for spending a week reverse engineering the Sky remote control...
      Sounds fun - give us the details pleae.

      Comment


        Originally posted by DiscoStu View Post
        I'm just lurking then I'm going to try and nab the 100K
        Hi DS

        How are you?

        Comment


          Originally posted by zeitghost View Post
          He was the guy who played the younger Steptoe... rather than the guy who had his hand stuck up Sooty...

          Wilfrid Brambell was the elder Steptoe.
          Ah yes! Wilfrid was the really really posh bloke in real life?

          Comment


            Originally posted by zeitghost View Post
            Sorry mate, that's UberGeekSpeak... not translatable into anything understandable by mere mortals like you & me... and Diver...
            hmmm - I will ask Bazza then...

            Comment


              Originally posted by zeitghost View Post




              Brillo
              got
              a
              PALI
              99299

              Merely for completeness
              thank you kind Sir

              Comment


                Originally posted by zeitghost View Post




                Brillo
                got
                a
                00
                99300

                Merely for completeness
                ditto.........

                Comment


                  Originally posted by zeitghost View Post


                  Has the dog passed your sock yet?
                  stocking

                  Comment


                    DS23 10,000
                    BrilloPad 9,930
                    zeitghost 9,587
                    Diver 9,484
                    BrowneIssue 8,381
                    TheFaQQer 7,690
                    cailin maith 6,916
                    NickFitz 5,058

                    Comment


                      That's the XSLT sorted

                      Code:
                      <?xml version="1.0" encoding="UTF-8"?>
                      <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
                          xmlns:h="http://www.w3.org/1999/xhtml">
                      
                          <xsl:output indent="yes" encoding="UTF-8"/>
                          
                          <xsl:param name="spidered-at">Now</xsl:param>
                      
                          <xsl:template match="/">
                              <page>
                                  <xsl:attribute name="spidered-at"><xsl:value-of select="$spidered-at"/></xsl:attribute>
                                  <nextpage>
                                      <xsl:attribute name="href">
                                          <xsl:value-of select="/h:html/h:body/h:div/h:div/h:div[1]/h:table/h:tr/h:td/h:table[3]/h:tr/h:td[2]/h:div/h:table/h:tr/h:td/h:a[normalize-space(text()) = '>']/@href"/>
                                      </xsl:attribute>
                                  </nextpage>
                                  <lastpage>
                                      <xsl:attribute name="href">
                                          <xsl:value-of select="/h:html/h:body/h:div/h:div/h:div[1]/h:table/h:tr/h:td/h:table[3]/h:tr/h:td[2]/h:div/h:table/h:tr/h:td/h:a[starts-with(normalize-space(text()), 'Last')]/@href"/>
                                      </xsl:attribute>
                                  </lastpage>
                                  <xsl:apply-templates select="/h:html/h:body/h:div/h:div/h:div/h:table/h:tr/h:td/h:div[@id='posts']"/>
                              </page>
                          </xsl:template>
                      
                          <xsl:template match="h:div[@id='posts']">
                              <posts>
                                  <xsl:apply-templates select="h:div[@align='center']/h:div/h:div/h:div/h:table"/>
                              </posts>
                          </xsl:template>
                      
                          <xsl:template match="h:table">
                              <post>
                                  <xsl:attribute name="cukid"><xsl:value-of select="substring-after(@id, 'post')"/></xsl:attribute>
                                  <xsl:attribute name="tpdid"><xsl:value-of select="h:tr[1]/h:td[2]/h:a/@name"/></xsl:attribute>
                                  <xsl:attribute name="time"><xsl:value-of select="normalize-space(h:tr[1]/h:td[1]/text()[2])"/></xsl:attribute>
                                  <xsl:apply-templates select="h:tr[2]/h:td[@class='alt2']"/>
                                  <xsl:apply-templates select="h:tr[2]/h:td[@class='alt1']"/>
                              </post>
                          </xsl:template>
                      
                          <xsl:template match="h:td[@class='alt2']">
                              <poster>
                                  <name><xsl:value-of select="h:div[1]/h:a[1]/text()"/></name>
                                  <page>
                                      <xsl:attribute name="href">
                                          <xsl:value-of select="h:div[1]/h:a[1]/@href"/>
                                      </xsl:attribute>
                                  </page>
                                  <avatar>
                                      <xsl:attribute name="href">
                                          <xsl:value-of select="h:div[3]/h:a/h:img/@src"/>
                                      </xsl:attribute>
                                  </avatar>
                                  <joined><xsl:value-of select="substring-after(h:div[3]/h:div[1]/text(), 'Join Date: ')"/></joined>
                              </poster>
                          </xsl:template>
                          
                          <xsl:template match="h:td[@class='alt1']">
                              <content>
                                  <title>
                                      <xsl:attribute name="icon">
                                          <xsl:value-of select="h:div[1]/h:img/@src"/>
                                      </xsl:attribute>
                                      <text><xsl:value-of select="h:div[1]/h:strong/text()"/></text>
                                  </title>
                                  <body>
                                      <xsl:copy-of select="h:div[2]"/>
                                  </body>
                              </content>
                          </xsl:template>
                          
                      </xsl:stylesheet>
                      Last edited by NickFitz; 24 March 2008, 20:25.

                      Comment

                      Working...
                      X