Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • CreatiCode
Skins
  • Light
  • Brite
  • 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
Brand Logo

CreatiCode Scratch Forum

  1. CreatiCode Forum
  2. Feedback
  3. fetch page as markdown is taking forever to load

fetch page as markdown is taking forever to load

Scheduled Pinned Locked Moved Feedback
bugcloud-blocksfeedback
6 Posts 2 Posters 1.9k 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.
  • JaecadeJnightJ Offline
    JaecadeJnightJ Offline
    JaecadeJnight
    Mod Helper
    wrote on last edited by jeffreyrb03-gmail
    #1

    c6e85c1f-11f4-4a9b-87b2-79a341e8e8c8-image.png

    #LLJW
    <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

    CreatiCodeI 1 Reply Last reply
    0
    • JaecadeJnightJ JaecadeJnight

      c6e85c1f-11f4-4a9b-87b2-79a341e8e8c8-image.png

      CreatiCodeI Online
      CreatiCodeI Online
      CreatiCode
      wrote on last edited by
      #2

      @jeffreyrb03-gmail

      Yes, we are trying to optimize it.

      JaecadeJnightJ 1 Reply Last reply
      1
      • CreatiCodeI CreatiCode

        @jeffreyrb03-gmail

        Yes, we are trying to optimize it.

        JaecadeJnightJ Offline
        JaecadeJnightJ Offline
        JaecadeJnight
        Mod Helper
        wrote on last edited by
        #3

        @info-creaticode I’m not sure but maybe if the markdown part is the issue, then you guys could just omit that feature and then the block would just return the code of a website like all the HTML and all, just raw. Most users might not understand the output or how to use it, however, in a tutorial for teaching how to use the block, you could show them that you can utilize ChatGPT to analyse the website code and then retrieve what you need from it. You could also teach that using ChatGPT for simple tasks like retrieving the title of the page isn’t neccessary and is more prone to error and taking longer when you could just use a regex search to find the page title.

        #LLJW
        <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

        CreatiCodeI 1 Reply Last reply
        0
        • JaecadeJnightJ JaecadeJnight

          @info-creaticode I’m not sure but maybe if the markdown part is the issue, then you guys could just omit that feature and then the block would just return the code of a website like all the HTML and all, just raw. Most users might not understand the output or how to use it, however, in a tutorial for teaching how to use the block, you could show them that you can utilize ChatGPT to analyse the website code and then retrieve what you need from it. You could also teach that using ChatGPT for simple tasks like retrieving the title of the page isn’t neccessary and is more prone to error and taking longer when you could just use a regex search to find the page title.

          CreatiCodeI Online
          CreatiCodeI Online
          CreatiCode
          wrote on last edited by
          #4

          @jeffreyrb03-gmail

          We are still working on fixing the issue. It is more about fetching complete data, since many websites using JS to present dynamic content, so it is not as simple as retrieving a static HTML file.

          JaecadeJnightJ 1 Reply Last reply
          1
          • CreatiCodeI CreatiCode

            @jeffreyrb03-gmail

            We are still working on fixing the issue. It is more about fetching complete data, since many websites using JS to present dynamic content, so it is not as simple as retrieving a static HTML file.

            JaecadeJnightJ Offline
            JaecadeJnightJ Offline
            JaecadeJnight
            Mod Helper
            wrote on last edited by
            #5

            @info-creaticode Ohhh that makes sense, websites do change their content after the page is fully loaded. However it does negatively affect using that block for things that are complete but are static, like when I use it to fetch from a fun fact API or just API’s in general.
            I also don’t know how easy or possible that would be to solve because to display the dynamic content you’d also need to run the JavaScript which can lead to problems like JS scripts of that page conflicting with those of the playground such as two variables with the same name.
            I think perhaps a new block could be made instead for fetching complete data since at the moment, it messed up my browser project a bit that was relying on that block since although I used iframes, I would use the result of the fetch block and then search it to get vital information such as page title and page language and then I would check if the page is safe (not a virus or spam) using the Google transparency check.

            #LLJW
            <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

            CreatiCodeI 1 Reply Last reply
            0
            • JaecadeJnightJ JaecadeJnight

              @info-creaticode Ohhh that makes sense, websites do change their content after the page is fully loaded. However it does negatively affect using that block for things that are complete but are static, like when I use it to fetch from a fun fact API or just API’s in general.
              I also don’t know how easy or possible that would be to solve because to display the dynamic content you’d also need to run the JavaScript which can lead to problems like JS scripts of that page conflicting with those of the playground such as two variables with the same name.
              I think perhaps a new block could be made instead for fetching complete data since at the moment, it messed up my browser project a bit that was relying on that block since although I used iframes, I would use the result of the fetch block and then search it to get vital information such as page title and page language and then I would check if the page is safe (not a virus or spam) using the Google transparency check.

              CreatiCodeI Online
              CreatiCodeI Online
              CreatiCode
              wrote on last edited by
              #6

              @jeffreyrb03-gmail

              Please wait a bit longer and test it after we release a new version of that block. If it still doesn’t work for your use case, we can discuss adding a different block.

              1 Reply Last reply
              1

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              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
              • Users
              • Groups
              • CreatiCode