google search console give me 2 ways to search my app in google.
given html file have to be uploaded in my app
I’ve tried with two code uploading the html file.
1)) p = open("google~~.html") components.html(p.read())
2)) HtmlFile = open("google~~~.html", 'r',encoding='utf-8') source_code = HtmlFile.read() print(source_code) components.html(source_code, height=450, scrolling=False)
but they doesn’t work.
insert given html tag in section
but I don’t know what streamlit code can access not
I guess you’re trying to get your app indexed by Google, so other people can find it via Google Search? This is unfortunately not possible right now. But indexability is one of our top priorities and we want to work on it over the next few months! Can I ask where you are deploying your app?
This isn’t really solved by the link to the docs because the app author can’t add and validate their own custom Streamlit Community Cloud URL to their Google Search Console properties and request that it gets crawled and indexed. At the moment you just have to wait for Google to find it and crawl it which could take weeks. Does anyone know a way to either add the Google Search Console html verification file or GSC html meta tag to the app if you are deploying on SCC via Github? If not, are there any plans to implement this in a future version?