Skip to content

feature: added faq #222

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from
Draft

feature: added faq #222

wants to merge 14 commits into from

Conversation

therobrob
Copy link
Member

@therobrob therobrob commented Jul 5, 2025

Description

In this PR i've added the following:

  • type "FAQPage" and mainEntity "Question" in structured data
  • content in "General Information"
  • filename structure (prefix _), because without the prefix the Page Type isn't recognized correctly.

Unfortunately there is no appropriate way to add the questions and answers to structuredData.html without duplicating them. So i've decided to add them to the front matter of the .md-file.

I would appreciate it if you would review the questions and add more as needed. :)

Checklist

  • Check the License of new pictures (non-commercial use without attribution)

The content was modified in the following languages:

  • English
  • German

Copy link

netlify bot commented Jul 5, 2025

Deploy Preview for fipguide ready!

Name Link
🔨 Latest commit 44962bd
🔍 Latest deploy log https://app.netlify.com/projects/fipguide/deploys/689a35edc315ec0008e69dd6
😎 Deploy Preview https://deploy-preview-222--fipguide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@lenderom
Copy link
Member

lenderom commented Jul 9, 2025

Open topics:

  • I will add additional informations (FIP Introduction and then the FAQ Section)
  • We should find a way so it's not necessary to write the FAQ part multiple times to make it usable in the structured data. Maybe @MoritzWeber0 has an idea for that?

@therobrob
Copy link
Member Author

For Context: with .Page.Content we get the markup, but without Reflex it is not possible to extract the information needed. I tried using Regex but it didn’t work properly.

@therobrob
Copy link
Member Author

We should decide if we want to use anchor links and/or expander for the questions

@MoritzWeber0 MoritzWeber0 added the technical Technical issues, e.g. related to Hugo, HTML, CSS, deployment, etc. label Jul 12, 2025
@lenderom lenderom added the content Improvements or additions to the content (countries, news, operators, general content) label Jul 13, 2025
@lenderom
Copy link
Member

lenderom commented Aug 4, 2025

For me as reminder:

Offene inhaltliche Punkte

Grenztarifpunkte und Bahnhöfe erklären
Allgemein bis wohni gelten Tickets bei internationalen Fahrten
Tickets im eigenen Land
Abschnitt nur für DB Mitarbeiter (Was gibt es noch für Möglichkeiten)
Wie finde ich das günstigste Ticket
Wie komme ich das Tickets/Freifahrtschein/FIP Ausweis
Was ist der FIP Ausweis (für Angehörige)
3 Tickettypen (Freifahrt, FIP 50, Globalpreis)
Wie finde ich raus, wer meinen Zug betreibt? (Teilweise Zuständigkeitswechsel an der Grenze bzw. gelten die Tickets dann nur bis zum Grenzpunkt)
Infos aus Übersicht von MeineDB einpflegen
Potentielle Visualisierungen erstellen
Beispiele für ein Gutes Vorgehen (wie recherchiere ich)

Signed-off-by: lennartrommeiss <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Improvements or additions to the content (countries, news, operators, general content) technical Technical issues, e.g. related to Hugo, HTML, CSS, deployment, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants