<transcript><audio_159>using path info directly gives you the uh gives you a more efficient way to obtain that information than than rewrite rules and it also lets you make smug remarks to our on irc to people who</transcript><transcript><audio_160>are still doing it using rewrite rules so here's how you might do this and i'm going to use php as an example because i tend to expect a larger percentage of php folks in the audience than i actually have today so bear with me a moment</transcript><transcript><audio_161>first of all i'm going to rename a resource from book.php to just book i'm going to take off the file extension because file extensions are so 1980s anyway and</transcript><transcript><audio_162>this directive here says even though it doesn't have a file extension i'm going to treat it like a php resource and it'll get executed correctly you can use the same technique with</transcript><transcript><audio_163>a cgi script or whatever it is you want to use this for then in that code you take the path info variable and you split it up into its component parts you treat each one of those component</transcript> using path info directly gives you the uh gives you a more efficient way to obtain that information than than rewrite rules and it also lets you make smug remarks to our on irc to people who are still doing it using rewrite rules so here's how you might do this and i'm going to use php as an example because i tend to expect a larger percentage of php folks in the audience than i actually have today so bear with me a moment first of all i'm going to rename a resource from book.php to just book i'm going to take off the file extension because file extensions are so 1980s anyway and this directive here says even though it doesn't have a file extension i'm going to treat it like a php resource and it'll get executed correctly you can use the same technique with a cgi script or whatever it is you want to use this for then in that code you take the path info variable and you split it up into its component parts you treat each one of those component
{"source": "grass-yt-cc-by.1BjRbXBKRWk|shard_10013_19|create_multimodal_data.extract_yt_and_generate_transcripts.59|shard_10013|create_multimodal_data.generate_captions.59|shard_10013|create_multimodal_data.generate_captions.59", "params": {"id": "1BjRbXBKRWk", "channel_id": "UCLDJ_V9KUOdOFSbDvPfGBxw", "duration": 3362, "view_count": 1751, "age_limit": 0, "chapters": [{"start_time": 0, "end_time": 180.0, "title": "<Untitled Chapter 1>"}, {"start_time": 180.0, "title": "SERVER-INFO?CONFIG", "end_time": 266.0}, {"start_time": 266.0, "title": "COMMON WISDOM", "end_time": 380.0}, {"start_time": 380.0, "title": "BROWSER SUPPORT", "end_time": 477.0}, {"start_time": 477.0, "title": "ERROR LOGS", "end_time": 667.0}, {"start_time": 667.0, "title": "DOCUMENTATION", "end_time": 780.0}, {"start_time": 780.0, "title": "BALANCER MANAGER", "end_time": 830.0}, {"start_time": 830.0, "title": "EXAMPLE 2", "end_time": 852.0}, {"start_time": 852.0, "title": "LOADBALANCER PARAMETERS", "end_time": 1191.0}, {"start_time": 1191.0, "title": "SIMPLIFIED LOGGING", "end_time": 1438.0}, {"start_time": 1438.0, "title": "CHECKSPELLING", "end_time": 1589.0}, {"start_time": 1589.0, "title": "CACHING DYNAMIC CONTENT", "end_time": 1766.0}, {"start_time": 1766.0, "title": "COMPRESSED", "end_time": 1974.0}, {"start_time": 1974.0, "title": "SYSLOG", "end_time": 2229.0}, {"start_time": 2229.0, "title": "NORMAL LOGGING", "end_time": 2449.0}, {"start_time": 2449.0, "title": "SWITCH", "end_time": 2842.0}, {"start_time": 2842.0, "title": "PROTOCOL MODULES", "end_time": 3362}], "like_count": 6, "channel_follower_count": 18100, "license": "Creative Commons Attribution license (reuse allowed)", "uploader_id": "@communityovercode", "yt_tar_file": "/leonardo_work/EUHPC_E03_068/audio/fixed_download/grass-yt-cc-by//shard_10013/1BjRbXBKRWk.tar.gz"}}