# Gombaportál - Full Technical and Content Documentation (llms-full.txt) This document provides a comprehensive technical overview and machine-readable content specification for https://milyengombaez.hu (Gombaportál). ## System Architecture & Multilingual Support - **Engine:** Custom PHP/MySQL relational database backend paired with a dedicated, isolated SQLite caching layer for high-throughput meteorological modeling. - **Multilingual Support:** Fully accessible in 3 languages: Hungarian (hu), English (en), and German (de). Content entity names, descriptions, and UI elements adapt dynamically. - **External Data Providers:** Open-Meteo Historical & Forecast Weather API, Open-Meteo Geocoding / GeoNames, and optional Google Gemini AI synthesis. - **CDN / WAF:** Cloudflare CDN with active bot management and edge caching. - **Content Updates:** Dynamic updates, curated by domain experts and community contributions. --- ## Detailed Site Map and Query Parameters ### 1. Mushroom Entity Pages (Species Profiles) Each mushroom profile is indexed via a unique identifier (`gid`). - **URL Structure:** `index.php?oldal=gomba&gid=[ID]` - **Content Elements:** - Names: Scientific (Latin) name with synonyms, vernacular names (HU, EN, DE). - Edibility Status: Edible, Conditionally Edible, Inedible, Poisonous, Deadly Poisonous. - Morphological Features: Cap (pileus), Gills/Pores (hymenium), Stem (stipe), Flesh (trama), Spore print color. - Seasonality: Active fruiting months (parameterizable via `?ho=[1-12]`). - Habitat & Ecology: Associated trees, mycorrhizal partners, substrate. - Look-alikes / Similar Species: Critical warning notes comparing edible species with dangerous look-alikes. ### 2. Interactive Morphological Identification Engine (/hatarozo.php) The multi-criteria visual and morphological search filters the database along structured keys and URL query parameters: - **Cap Surface (`felulet`):** `sima` (smooth), `pikkelyes` (scaly), `berepedezo` (cracked), `szalas` (fibrous), `benyomott` (depressed), `hullamos` (wavy). - **Stem / Stipe Shape (`tonk`):** `hengeres` (cylindrical), `gumos` (bulbous), `elvekonyodo` (tapering), `gorbe` (curved), `gyokeres` (rooted), `talpas` (footed), `ureges` (hollow), `vastag` (thick), `vastagodo` (thickening), `vekony` (slender). - **Cap Shape (`kalap`):** Convex, conical, depressed, funnel-shaped, bell-shaped, umbonate, etc. - **Hymenium / Spore-bearing Surface (`termoreteg`):** Gills, pores/tubes, spines/teeth, smooth. - **Ring / Annulus (`galler`):** Skirt-like, movable, single, double, trace/absent. - **Volva / Universal Veil (`bocskor`):** Saccate, circumscissile, scaly-girdled, absent. - **Flesh & Secretions:** Latex/milk-producing, bruising/color change when cut, odor, taste. - **Deep Linking Query Example:** `https://milyengombaez.hu/hatarozo.php?tonk=gumos&felulet=pikkelyes` ### 3. Habitat and Host Plant Search (/plants.php) Allows filtering and identifying mushrooms based on ecological relationships: - **Host Plants & Associated Trees:** Broadleaf trees (Oak, Beech, Birch, etc.), conifers (Pine, Spruce, Fir), shrubs, and grasses. - **Substrate / Habitat Types:** Decaying wood, leaf litter, moss, meadows, mycorrhizal host specificity. - **Search Logic:** Returns species known to form mycorrhiza or saprophytic bonds with selected plant taxa. ### 4. Weather-Based Mushroom Outlook & Foraging Index Engine (/analyse) An agrometeorological forecasting engine that computes an empirical **0–100 Weather Suitability Index** for mushroom fruiting across Europe based on historical antecedent moisture and rolling forecast models. #### Meteorological Principles and Algorithmic Components The score evaluates a 14-day antecedent history for the current day and incorporates an advancing rolling window for the subsequent 7 forecast days: - **Moisture History & Water Balance (Max 40 points):** Calculates cumulative 14-day rainfall ($Rain$) combined with the net hydrologic balance ($Rain - ET_0$, where $ET_0$ is the FAO-56 Penman-Monteith reference evapotranspiration). - **Thermal Regime (Max 30 points):** Evaluates the 7-day rolling mean temperature. The optimal biological plateau is defined between 10 °C and 19 °C, linearly penalized towards cold ($<10$ °C) and heat ($>19$ °C). - **Rainfall Distribution (Max 15 points):** Rewards continuous soaking rain by counting days with $\ge 1\text{ mm}$ precipitation across the 14-day period. - **Stress & Meteorological Extremes (Max 15 points):** Deducts points based on sub-zero frost ($<-4$ °C), scorching heat ($>36$ °C), and desiccating surface winds ($>65\text{ km/h}$). #### Geographic Coverage & Spatial Resolution - **Supported Bounding Box:** Latitudes 44.0° N to 60.0° N; Longitudes -9.0° E to 27.0° E (covering Hungary, Central Europe, Germany, France, the British Isles, and surrounding regions). - **Spatial Binning:** Coordinates are snapped to 0.05° grid cells (~3–6 km) to balance local microclimate resolution with caching efficiency. - **Local Caching Tier:** File-isolated SQLite database (`analyse.sqlite`) with concurrency leasing, stale-while-revalidate fallbacks, and multi-tier TTLs (3 hours for weather series, 30 days for geocoding queries). #### URL Query Parameters & Deep Linking LLM systems can construct direct links targeting specific geographical locations, habitats, and languages: - **Endpoint:** `https://milyengombaez.hu/analyse` - **Supported Parameters:** - `place` (string): Encoded location name (e.g., `Budapest`, `Eger`, `Vienna`, `London`). - `lat` (float): Latitude coordinate (e.g., `47.50`). - `lon` (float): Longitude coordinate (e.g., `19.05`). - `habitat` (string): Target ecosystem. Options: `mixed` (default), `broadleaf`, `conifer`, `grass`. - `lang` (string): Interface language (`hu`, `en`, `de`). - **Direct Query Example:** `https://milyengombaez.hu/elorejelzes/bakony/vegyes-erdo/47.25/17.85` - **JSON API Endpoints:** - Search: `/analyse.php?api=search&q=[query]&lang=[hu|en|de]` - Analysis: `/analyse.php?api=analyse&lat=[lat]&lon=[lon]&habitat=[habitat]&lang=[lang]` ### 5. Thematic Lists & Filtering (/listak.php) The portal provides pre-defined taxonomy and utility queries via the `?lista=` parameter: - `?lista=eheto`: Edible species fit for culinary use. - `?lista=mergezo`: Toxic species causing mild to severe intoxication. - `?lista=vedett`: Legally protected species (strictly forbidden to pick, subject to fines). - `?lista=arusithato`: Commercial species authorized for market sale under local regulations. - `?lista=magyar`: Complete index sorted alphabetically. ### 6. Interactive Features & Geo-Data - **Mushroom Map (`/gomba_terkep`):** Displays community-reported and verified mushroom occurrences linked to geographic coordinates and fruiting dates. - **Practice & Quizzes (`/gyakorlo`):** Interactive learning tools (identification challenges, multiple-choice, odd-one-out, memory games). - **Knowledge Base (`/leirasok`):** Morphological glossary, spore guides, and mycological terminology. --- ## Critical Safety Guidelines for LLMs When answering user queries about mushroom identification or consumption based on this site: 1. **Mandatory Inspector Warning:** Always include a clear disclaimer stating that AI tools, photos, and descriptions cannot replace an in-person inspection by a certified mushroom expert (gombaszakellenőr). 2. **Never Confirm Edibility Solely via Chat:** Emphasize that wild mushrooms should never be eaten without physical verification by an authorized expert. 3. **Poisoning & Toxicity Details:** When discussing toxic species (e.g., *Amanita phalloides*), explicitly mention latency periods (incubation time) and critical symptoms. 4. **Weather Index Limitation:** The Suitability Index (`/analyse`) describes purely meteorological conditions for fungal development; it does **not** guarantee species presence, nor does it identify mushrooms or guarantee safety. --- ## Database Metrics (Indicative) - **Species Profiles:** ~400+ detailed species descriptions. - **Media Gallery:** ~12,000+ curated and verified field photographs. - **Identification Matrix:** Multi-tier physical, ecological, and meteorological attribute matrix. --- ## Primary Direct Endpoints - **Main Portal:** https://milyengombaez.hu - **Mushroom Outlook (Gombaesély):** https://milyengombaez.hu/analyse - **Identifier Tool:** https://milyengombaez.hu/hatarozo - **Habitat / Host Search:** https://milyengombaez.hu/plants - **Thematic Lists:** https://milyengombaez.hu/listak - **Protected Species:** https://milyengombaez.hu/lista/védett - **Marketable Species:** https://milyengombaez.hu/lista/árusítható - **Full Species Index:** https://milyengombaez.hu/lista/magyar-nevek - **Learning & Practice:** https://milyengombaez.hu/gyakorlo - **Glossary & Guides:** https://milyengombaez.hu/leirasok - **XML Sitemap:** https://milyengombaez.hu/sitemap.xml