Convert Page.aspx to Page.html

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AmirGhaffary
    New Member
    • Jan 2007
    • 12

    Convert Page.aspx to Page.html

    Hi every body i heard about some technic that we can show Page.aspx in Page.html , i think this technic used in this site (www.thescripts .com) too , i wanna know how we can do that in asp.net ??

    it is so important for me !!
  • AricC
    Recognized Expert Top Contributor
    • Oct 2006
    • 1885

    #2
    TheScripts.com runs on PHP. I'm not really sure what you mean by make an an ASP.Net page an HTML page.

    Comment

    • kenobewan
      Recognized Expert Specialist
      • Dec 2006
      • 4871

      #3
      Do want to:
      A. Display page.aspx in an html frame?
      B. Display .net code in an html page?
      C. Re-write the url so that it says that it is an html page?
      D. Convert an aspx page into html?
      E. All of the above.

      Comment

      • AmirGhaffary
        New Member
        • Jan 2007
        • 12

        #4
        the best code is i can convert an aspx page into html , i think "D" thats i want but if not posibel , "C" not bad too

        Comment

        • radcaesar
          Recognized Expert Contributor
          • Sep 2006
          • 759

          #5
          When the client requests an aspx page, the server responds with an HTML file format only (i.e The page which u seen on ur browser with .aspx extension)

          Save that file to HTML

          :)


          Originally posted by AmirGhaffary
          the best code is i can convert an aspx page into html , i think "D" thats i want but if not posibel , "C" not bad too

          Comment

          • AmirGhaffary
            New Member
            • Jan 2007
            • 12

            #6
            let me Explian what i want . as my friend says "www.thescript. com" is programing with PHP but when u vist "Discussion s" page the address of file in address box are "html" , as u see "Discussion s" has Pageing too , also this page is connect to data base , thats means "Discussion s" is dynamic page but the file address is "html" , i heard we can use this technic in Asp.Net too,
            this technec help "Search Robat" too get all your pages in dynamic site ,
            and if you use this technic you can have best result in -for exaple googel search-

            Comment

            • radcaesar
              Recognized Expert Contributor
              • Sep 2006
              • 759

              #7
              Hi,
              There is no techniques involved in this. The page shown to u as an HTML is a static one based on ur thread id. When you go for some actions like DB Access, the at that time PHP script is used.

              The basic here is, in an PHP file, the script inside the <?php> was executed by server (Server side script) and others HTMLs are processed by clientside.

              The Page u said doesn't has any server scripts so written as HTML

              :)




              Originally posted by AmirGhaffary
              let me Explian what i want . as my friend says "www.thescript. com" is programing with PHP but when u vist "Discussion s" page the address of file in address box are "html" , as u see "Discussion s" has Pageing too , also this page is connect to data base , thats means "Discussion s" is dynamic page but the file address is "html" , i heard we can use this technic in Asp.Net too,
              this technec help "Search Robat" too get all your pages in dynamic site ,
              and if you use this technic you can have best result in -for exaple googel search-

              Comment

              • AmirGhaffary
                New Member
                • Jan 2007
                • 12

                #8
                i dont get it ,
                ok , let me explain in this way the Name of the page we are discuss on it already is "thread588855.h tml" ok !
                thats html file , how they add my note im already write in this freetext box on that page , and how they change counter of replay on "Discussion s" page , Coz that "Html" file too ?
                I just wanna know that ?

                Comment

                • AmirGhaffary
                  New Member
                  • Jan 2007
                  • 12

                  #9
                  ok , do u get my piont ?? how make this html page ? and also mange it ?
                  as u see in "Disucssion s" has Pageing ??? how we can manage it ???

                  Comment

                  • radcaesar
                    Recognized Expert Contributor
                    • Sep 2006
                    • 759

                    #10
                    When u click on Reply or Post Reply, it will redirect to a PHP file.

                    Instantly after the file displayed is show thread.php

                    :)

                    Originally posted by AmirGhaffary
                    ok , do u get my piont ?? how make this html page ? and also mange it ?
                    as u see in "Disucssion s" has Pageing ??? how we can manage it ???

                    Comment

                    • AmirGhaffary
                      New Member
                      • Jan 2007
                      • 12

                      #11
                      Ok , i wanna know that how i can make some file like, this file "thread588855.h tml" , we are discouse on it ?
                      and also that list on Main Descussion page ??
                      can u tell me that ?
                      but in Vb.net , no PHP

                      Comment

                      • radcaesar
                        Recognized Expert Contributor
                        • Sep 2006
                        • 759

                        #12
                        Hi,
                        I got ur question i think and also a good one i think. Give some time to work around this. Will get back u soon.

                        :)

                        Comment

                        • AmirGhaffary
                          New Member
                          • Jan 2007
                          • 12

                          #13
                          Ok , thank you ,

                          Comment

                          • radcaesar
                            Recognized Expert Contributor
                            • Sep 2006
                            • 759

                            #14
                            Hi,
                            Thats the magic done using javascript. View the source of that file, u will find a line looks like this.

                            <script type="text/javascript" src="http://www.thescripts. com/forum/clientscript/vbulletin_globa l.js"></script>

                            When i seen the js file (code), it contains methods to fetch the records (like list of users, posts etc)

                            You can achieve this in any of the languages like asp.net, php etc

                            Clear Now ?

                            :)

                            Comment

                            • AricC
                              Recognized Expert Top Contributor
                              • Oct 2006
                              • 1885

                              #15
                              I still don't understand what the question is

                              Comment

                              Working...