KlubJagiellonski / pola-web

Pola pomoże Ci odnaleźć polskie wyroby. Zabierając Polę na zakupy odnajdujesz produkty “z duszą” i wspierasz polską gospodarkę.
https://www.pola-app.pl/
MIT License
11 stars 5 forks source link

Co zrobić, aby aplikacja Pola była tutaj? #850

Open MatPerowicz opened 11 months ago

MatPerowicz commented 11 months ago

Podczas weryfikowania firm często widzę, że podstawowe informacje pokazują się od razu w wynikach wyszukiwań:

c

Mamy gotowe teksty w opisach firm. Nazwa każdej firmy i każdego produktu mogłaby kierować na naszą stronę. Spójrzcie jak obecnie pozycjonujemy się w Google:

a b

Czy jest możliwe, aby nazwy wszystkich firm i produktów, które mamy w naszej bazie, i które dostępne są w wyszukiwarce, prowadziły do naszej strony?

AdamWalkowski commented 10 months ago

how to attach questions and answers to my website to results in google search?

ChatGPT

To have questions and answers displayed in Google search results, you can use structured data markup, such as FAQPage schema. This markup helps search engines understand the content of your web page and display it as a featured snippet in search results. Here's how you can do it:

  1. Create FAQ Content: Start by adding a FAQ section to your website. You can create a page or a section with questions and their corresponding answers. Make sure your content is relevant and valuable to users.

  2. Use Schema Markup: To mark up your FAQ content for search engines, you can use JSON-LD or Microdata. JSON-LD is the recommended format. Here's an example of how to use JSON-LD to mark up your content:

    jsonCopy code

    <script type="application/ld+json">
    { questions } 
    </script>
{ 
    "@context": "https://schema.org", 
    "@type": "FAQPage", 
    "mainEntity": [ 
    { 
        "@type": "Question", 
        "name": "What is structured data?", 
        "acceptedAnswer": { 
            "@type": "Answer", 
            "text": "Structured data is a way to provide information in a standardized format that search engines can understand." 
            } 
    }, 
    { 
        "@type": "Question", 
        "name": "How do I implement structured data?", 
        "acceptedAnswer": { 
            "@type": "Answer", 
            "text": "You can implement structured data by adding JSON-LD or Microdata to your web page." 
        } 
    } 
    ] 
}
  1. Test Your Markup: Before you publish your page, it's a good idea to test your structured data using Google's Structured Data Testing Tool (https://search.google.com/structured-data/testing-tool/). This tool will check for errors and provide feedback on your markup.

  2. Publish Your Page: Once you're confident that your markup is correct, publish the page with the FAQ content on your website.

  3. Submit to Google: To help Google discover your content faster, you can submit the URL of the page with structured data to Google through Google Search Console (https://search.google.com/search-console/). This can expedite the indexing process.

  4. Wait for Indexing: It may take some time for Google to crawl and index your page. Once indexed, your FAQ content may appear in search results as a featured snippet.

Keep in mind that while structured data markup can improve the chances of your content appearing as a featured snippet, there are no guarantees. Google's algorithms determine which content is displayed as a featured snippet based on various factors, including the quality of your content and its relevance to the search query. So, make sure your content is high-quality and provides valuable answers to users' questions.

MatPerowicz commented 10 months ago

Kolejny wspaniały przykład. Tam powinna się wyświetlać Pola.

aaaaaaaaaaaaaaa

JKSPL commented 10 months ago

Po pierwsze trzeba zrobić dynamic routing, tak żeby dla każdej firmy był oddzielny URL. Potem trzeba pomóc Googlowi zaindeksować stronkę.

AdamWalkowski commented 8 months ago

Po wstępnej analizie wydaje się, że rozwiązaniem będzie umieszczenie w stopce wygenerowanej przez Gatsby podstrony danych o wynikach firm zapisanych w "formacie" JSON-LD (natomiast tutaj pojawia się pytanie: jak taka podstrona ma być ukryta dla użytkowników, skoro jej treść a zatem link do niej będzie się pojawiał w wynikach Google).

JSON-LD (Linked Data) wydaje się bardzo rozbudowanym, ale też dojrzałym formatem. Google udostępnia narzędzia do sprawdzania, jak dane tego typu są widoczne (https://search.google.com/test/rich-results) oraz udostępnia narzędzie do proszenia o reskanowanie strony (https://search.google.com/search-console). W Linked Data można używać formatu pytanie-odpowiedź (FAQ), ale także innych form jak artykuł czy organizacja.

  1. Zatem pierwszym krokiem powinno być zrozumienie tego formatu. https://github.com/KlubJagiellonski/pola-web/issues/889

  2. Drugi krok to opracowanie, jak faktycznie chcemy, aby Google indeksował, czyli zaprojektowanie treści i napisanie kawłka kodu, który generuje JSON-LD z danych o firmach. Tutaj do wyboru są dwie możliwości: A) (moim zdaniem lepsza) generowanie JSON-LD po stronie Backendu w Pythonie, B) generowanie JSON-LD w TypeScript po stronie Gatsby. https://github.com/KlubJagiellonski/pola-web/issues/891

  3. Trzeci krok to API udostępniające dane o firmach i wynikach w zakresie wystarczającym, aby wygenerować zakładane JSON-LD. https://github.com/KlubJagiellonski/pola-web/issues/892

  4. Ostatni krok to wtłoczenie gotowego JSON-LD do wygenerowanej ukrytej strony (jeżeli to lepszy pomysł niż np. użycie do tego strony Home). https://github.com/KlubJagiellonski/pola-web/issues/890

AdamWalkowski commented 8 months ago

@MatPerowicz Czy ten task jest jakoś związanych z tym wątkiem? https://github.com/KlubJagiellonski/pola-web/issues/373

MatPerowicz commented 8 months ago

@MatPerowicz Czy ten task jest jakoś związanych z tym wątkiem? #373

@AdamWalkowski tak, najlepiej będzie jeśli to zintegrujemy.