dynamic sitemap #311
Replies: 6 comments 6 replies
-
Implementation Detail
|
Beta Was this translation helpful? Give feedback.
-
Syntax UpdateRegEx: \<\s*([a-z]\w+)?\s*([a-z]\w+)\s*:([a-z]\w+)?\s*([a-z]\w+)\s*\> Examples: <string:username >/<integer:age>
< string : username >/< integer : age >
<optional string:username>/<integer:age>
<optional string : username>/< integer : age>
<optional string : username>/< optional integer : age>
< optional string : username >/< optional integer : age > |
Beta Was this translation helpful? Give feedback.
-
UpdateWe are only supporting parameters without optional type. Examples:
Regex:
|
Beta Was this translation helpful? Give feedback.
-
NoteIf you are using custom path parameters in the URL, so defining the If we are writing like Error Example
Correct Example
|
Beta Was this translation helpful? Give feedback.
-
Cases 1Requested URL:
Case 2Requested URL:
|
Beta Was this translation helpful? Give feedback.
-
TestingStatus: Done
|
Beta Was this translation helpful? Give feedback.
-
Status: Partially Done
Follow: #526
Code PR: #558
Doc PR: fastn-stack/fastn.com#88
TODO Tasks
dynamic-urls
in FPM.ftd, handling for foreign packageskip
header in dynamic-urls #567Feature: web framework, sitemap.
https://www.youtube.com/watch?v=SdpCVTk84DM
https://www.fifthtry.com/fpm/~/20/
If FPM sees a request to
/amitu/1/
it will renderuser-profile.ftd
document. Anduser-profile.ftd
can use request-data processor to fetch data from URL etc.Beta Was this translation helpful? Give feedback.
All reactions