GithubHelp home page GithubHelp logo

Build Out Backend DOM Search about find HOT 6 CLOSED

brandon1024 avatar brandon1024 commented on August 17, 2024
Build Out Backend DOM Search

from find.

Comments (6)

brandon1024 avatar brandon1024 commented on August 17, 2024

Arch Doc

Moved to GitHub Wiki, API Specification

Supporting Dynamic Web Pages

What happens if we parse the DOM and build our model object, but the web page is dynamic and changes elements, layout, or text content? We will need to ensure that if we encounter this situation, we handle it appropriately. If an element is not found in the web page that exists in our model object, do we skip that occurrence? Or do we make an attempt to rebuild the model object?

Revision

Because web pages have vastly varying DOMs, it is very likely that rigorous testing will need to happen to make this work. For instance, we will want to filter out certain types of elements that can contain text, but that do not appear in the web page (script element for example). It is very important to keep our code modular for allowing us to add in these refinements in the future.

Documentation (Add useful links here!)

from find.

 avatar commented on August 17, 2024

The last step requiring js to highlight text should be "done". The only issue remaining after the parsing is completed would be to tweak the existing highlight.js

from find.

brandon1024 avatar brandon1024 commented on August 17, 2024

@MikeWalz11 It might require some pretty heavy modifications though. I have't really looked into it much yet, but once I finish the rest, you can dive into it!

from find.

brandon1024 avatar brandon1024 commented on August 17, 2024

Finally seeing some progress!

image

from find.

brandon1024 avatar brandon1024 commented on August 17, 2024

Progress: develop...F9-Build-Backend-DOM-Search

from find.

 avatar commented on August 17, 2024

PR Merged: #55

from find.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.