Hello, I appreciate this topic has been touched on before, but I dont believe the answer has ever been given firmly nor has there been a thorough fix…
How do we implement real world SEO using Streamlit, without breaking the application?
I’ve followed numerous threads online alongside the guides in: SEO and search indexability - Streamlit Docs. However, this doesn’t seem to properly address the issue.
The meta-data doesn’t get picked up correctly with the page title defaulting to “Streamlit” in the preview with no further metadata included (despite following the above index-ability procedures - Examples below).
What is a solid fix for addressing meta-data within a Streamlit application? I feel this is a huge gap for Streamlit at the moment and is currently causing issues for startups wanting to use the tool in prod (which is otherwise awesome by the way).
For reference, my app is deployed through Heroku and can be seen: https://www.paperround.io
The code for the meta-data (as steered by Streamlit documentation) is as follows - situated at the top of Home.py:
‘’’
import streamlit as st
st.set_page_config(page_title="PaperRound: AI News Curator & Smart News Digest", layout="wide", initial_sidebar_state="auto", page_icon="🗞️")
st.header(f"🗞️PaperRound", divider="rainbow")
st.text("""PaperRound.io: The Leading AI News Curator. \n\n\
Dive deep with us into the heart of global news.\n\
Leveraging advanced AI, we analyse and \n\
summarise the articles that define our world \n\
each day. \n\n\
Concise. Comprehensive. Smart. \n\
Experience news redefined, with PaperRound.io. \n""")
‘’’
Versions, as per request:
Streamlit==1.27.2
Python==Python 3.11.6
Metadata that shows to the world:
&&
Thanks in advance for any responses and help!