Changeset 38385 for gs3-installations/computing50/trunk/sites
- Timestamp:
- 2023-11-17T12:06:22+13:00 (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-installations/computing50/trunk/sites/computing50/collect/computing-50-tabletop/etc/collectionConfig.xml
r38254 r38385 16 16 current and former staff, along with a selection of photos taken over the years 17 17 capturing events that have occurred in CMS over the years. 18 19 18 </displayItem> 20 19 </displayItemList> … … 127 126 <option name="-enable_cache"/> 128 127 <option name="-noscaleup"/> 129 </plugin> 128 </plugin> 130 129 <plugin name="ImagePlugin"> 131 130 <option name="-process_exp" value="(?i)video-archive.*\.(jpg|jpeg|gif|png)$"/> … … 332 331 [Cool+stuff] 333 332 --> 334 <!-- The <int> ID of the entry in Tbl_CoolStuff --> 335 <!-- 336 <gsf:metadata name="dc.Publisher"/> 337 --> 338 <xsl:variable name="docIDLeadingDigit"> 339 <xsl:value-of select="substring(@nodeID,2,1)"/> 340 </xsl:variable> 341 <xsl:value-of select="$docIDLeadingDigit"/> 333 <!-- 334 The <int> ID of the entry in Tbl_CoolStuff 335 --> 336 <!-- 337 <gsf:metadata name="dc.Publisher"/> 338 --> 339 <xsl:variable name="docIDLeadingDigit"> 340 <xsl:value-of select="substring(@nodeID,2,1)"/> 341 </xsl:variable> 342 <xsl:value-of select="$docIDLeadingDigit"/> 342 343 </c> 343 344 <!-- 344 345 Stream 345 --> <xsl:variable name="paIncludeInStream"> 346 <gsf:metadata name="pa.IncludeInStream"/> 346 --> 347 <xsl:variable name="paIncludeInStream"> 348 <gsf:metadata name="pa.IncludeInStream"/> 347 349 </xsl:variable> 348 349 350 <xsl:choose> 350 351 352 </xsl:when>353 354 355 351 <xsl:when test="$paIncludeInStream = 'True'"> 352 <c>True</c> 353 </xsl:when> 354 <xsl:otherwise> 355 <c>False</c> 356 </xsl:otherwise> 356 357 </xsl:choose> 357 358 <!-- 359 <xsl:variable name="docID"> 358 <!-- 359 <xsl:variable name="docID"> 360 360 <xsl:value-of select="substring(@nodeID,2)"/> 361 361 </xsl:variable> … … 369 369 </xsl:otherwise> 370 370 </xsl:choose> 371 371 --> 372 372 <c><!-- 373 373 Audio … … 452 452 <option name="-buttonname" value="Photographs"/> 453 453 <format> 454 <!-- For tabletop, want to present 1st level classifier nodes as CoolStuff (aka collections) --> 455 <!-- <c></c> content, then, generated from the VList classifier rule, and documentNode empty --> 456 457 <gsf:template match="classifierNode[@classifierStyle = 'VList']"> 458 459 <xsl:choose> 460 <xsl:when test="/page/pageRequest/@subaction = 'tabletop'"> 461 <!-- ID,Title,Description,Order --> 462 <xsl:variable name="nodeID"> 463 <xsl:value-of select="substring(@nodeID,5)"/> 464 </xsl:variable> 465 466 <c> 467 <!-- ID --> 468 <xsl:value-of select="$nodeID"/> 469 </c> 470 <c> 471 <gsf:metadata name="Title"/> 472 </c> 473 <c> 474 <!-- Description --> 475 <gsf:metadata name="Title"/> 476 </c> 477 <c> 478 <!-- Order --> 479 <xsl:value-of select="$nodeID"/> 480 </c> 481 </xsl:when> 482 <xsl:otherwise> 483 484 <td valign="top"> 485 <gsf:link style="static" type="classifier"> 486 <gsf:icon type="classifier"/> 487 </gsf:link> 488 </td> 489 <td valign="top"> 490 <gsf:link type="classifier"> 491 <gsf:metadata name="Title"/> 492 </gsf:link> 493 </td> 494 </xsl:otherwise> 495 </xsl:choose> 496 497 </gsf:template> 498 499 <!-- 500 <gsf:template match="classifierNode[@classifierStyle = 'HList']"> 454 <!-- 455 For tabletop, want to present 1st level classifier nodes as CoolStuff (aka collections) 456 --> 457 <!-- 458 <c></c> content, then, generated from the VList classifier rule, and documentNode empty 459 --> 460 <gsf:template match="classifierNode[@classifierStyle = 'VList']"> 461 <xsl:choose> 462 <xsl:when test="/page/pageRequest/@subaction = 'tabletop'"> 463 <!-- 464 ID,Title,Description,Order 465 --> 466 <xsl:variable name="nodeID"> 467 <xsl:value-of select="substring(@nodeID,5)"/> 468 </xsl:variable> 469 <c> 470 <!-- 471 ID 472 --> 473 <xsl:value-of select="$nodeID"/> 474 </c> 475 <c> 476 <gsf:metadata name="Title"/> 477 </c> 478 <c> 479 <!-- 480 Description 481 --> 482 <gsf:metadata name="Title"/> 483 </c> 484 <c> 485 <!-- 486 Order 487 --> 488 <xsl:value-of select="$nodeID"/> 489 </c> 490 </xsl:when> 491 <xsl:otherwise> 492 <td valign="top"> 493 <gsf:link style="static" type="classifier"> 494 <gsf:icon type="classifier"/> 495 </gsf:link> 496 </td> 497 <td valign="top"> 498 <gsf:link type="classifier"> 499 <gsf:metadata name="Title"/> 500 </gsf:link> 501 </td> 502 </xsl:otherwise> 503 </xsl:choose> 504 </gsf:template> 505 <!-- 506 <gsf:template match="classifierNode[@classifierStyle = 'HList']"> 501 507 <gsf:link type="classifier"> 502 508 <gsf:metadata name="Title"/> 503 509 </gsf:link> 504 510 </gsf:template> 505 --> 506 <gsf:template match="documentNode"> 507 508 <xsl:choose> 509 <xsl:when test="/page/pageRequest/@subaction = 'tabletop'"> 510 <!-- deliberately empty --> 511 </xsl:when> 512 <xsl:otherwise> 513 514 <td valign="top"> 515 <gsf:link type="source"> 516 <gsf:choose-metadata> 517 <gsf:metadata name="thumbicon"/> 518 <gsf:metadata name="srcicon"/> 519 <gsf:default> 520 <gsf:icon/> 521 </gsf:default> 522 </gsf:choose-metadata> 523 </gsf:link> 524 </td> 525 <td valign="top"> 526 <gsf:link type="document"> 527 <strong> 528 <gsf:metadata name="Year"/> 529 </strong> 530 <xsl:call-template name="choose-title"/> 531 </gsf:link> 532 </td> 533 </xsl:otherwise> 534 </xsl:choose> 535 </gsf:template> 536 537 511 --> 512 <gsf:template match="documentNode"> 513 <xsl:choose> 514 <xsl:when test="/page/pageRequest/@subaction = 'tabletop'"><!-- 515 deliberately empty 516 --> 517 </xsl:when> <xsl:otherwise> 518 <td valign="top"> 519 <gsf:link type="source"> 520 <gsf:choose-metadata> 521 <gsf:metadata name="thumbicon"/> 522 <gsf:metadata name="srcicon"/> 523 <gsf:default> 524 <gsf:icon/> 525 </gsf:default> 526 </gsf:choose-metadata> 527 </gsf:link> 528 </td> 529 <td valign="top"> 530 <gsf:link type="document"> 531 <strong> 532 <gsf:metadata name="Year"/> 533 </strong> 534 <xsl:call-template name="choose-title"/> 535 </gsf:link> 536 </td> 537 </xsl:otherwise> 538 </xsl:choose> 539 </gsf:template> 538 540 </format> 539 541 </classifier> 540 541 542 <classifier name="SimpleList"> 542 543 <option name="-metadata" value="va.FileType"/> 543 544 <option name="-buttonname" value="All Videos"/> 544 545 546 545 <format> 547 <gsf:template match="documentNode"> 548 <xsl:choose> 549 <xsl:when test="/page/pageRequest/@subaction = 'tabletop'"> 550 <!-- ID, Video, Title, Description, Order, Pictures --> 551 552 <c> 553 <xsl:value-of select="substring(@nodeID,2)"/> 554 </c> 555 <c> 556 <!-- Picture --> 557 <gsf:metadata hidden="true" name="Title"/> 558 <GS3URL> 559 <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/metadataList/metadata[@name = 'httpPath']"/> 560 <xsl:text>/index/assoc/</xsl:text> 561 <xsl:value-of disable-output-escaping="yes" select="metadataList/metadata[@name='assocfilepath']"/> 562 <xsl:text>/</xsl:text> 563 <xsl:value-of disable-output-escaping="yes" select="metadataList/metadata[@name='Title']"/> 564 <xsl:text>.mp4</xsl:text> 565 </GS3URL> 566 </c> 567 <c> 568 <gsf:metadata name="Title"/> 569 </c> 570 <c> 571 <gsf:metadata name="Description"/> 572 </c> 573 <c><!-- Order --> 574 <xsl:value-of select="substring(@nodeID,2)"/> 575 </c> 576 <c> 577 <!-- Picture --> 578 <gsf:metadata hidden="true" name="Screen"/> 579 <GS3URL> 580 <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/metadataList/metadata[@name = 'httpPath']"/> 581 <xsl:text>/index/assoc/</xsl:text> 582 <xsl:value-of disable-output-escaping="yes" select="metadataList/metadata[@name='assocfilepath']"/> 583 <xsl:text>/</xsl:text> 584 <xsl:value-of disable-output-escaping="yes" select="metadataList/metadata[@name='Screen']"/> 585 </GS3URL> 586 </c> 587 </xsl:when> 588 589 <xsl:otherwise> 590 <td valign="top"> 591 <gsf:link type="document"> 592 <gsf:choose-metadata> 593 <gsf:metadata name="thumbicon"/> 594 <gsf:metadata name="srcicon"/> 595 </gsf:choose-metadata> 596 </gsf:link> 597 </td> 598 <td valign="top"> 599 <gsf:link type="document"> 600 <xsl:call-template name="choose-title"/> 601 </gsf:link> 602 </td> 603 </xsl:otherwise> 604 </xsl:choose> 605 </gsf:template> 606 </format> 607 608 609 610 546 <gsf:template match="documentNode"> 547 <xsl:choose> 548 <xsl:when test="/page/pageRequest/@subaction = 'tabletop'"> 549 <!-- 550 ID, Video, Title, Description, Order, Pictures 551 --> 552 <c> 553 <xsl:value-of select="substring(@nodeID,2)"/> 554 </c> 555 <c> 556 <!-- 557 Picture 558 --> 559 <gsf:metadata hidden="true" name="Title"/> 560 <GS3URL> 561 <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/metadataList/metadata[@name = 'httpPath']"/> 562 <xsl:text>/index/assoc/</xsl:text> 563 <xsl:value-of disable-output-escaping="yes" select="metadataList/metadata[@name='assocfilepath']"/> 564 <xsl:text>/</xsl:text> 565 <xsl:value-of disable-output-escaping="yes" select="metadataList/metadata[@name='Title']"/> 566 <xsl:text>.mp4</xsl:text> 567 </GS3URL> 568 </c> 569 <c> 570 <gsf:metadata name="Title"/> 571 </c> 572 <c> 573 <gsf:metadata name="Description"/> 574 </c> 575 <c> 576 <!-- 577 Order 578 --> 579 <xsl:value-of select="substring(@nodeID,2)"/> 580 </c> 581 <c> 582 <!-- 583 Picture 584 --> 585 <gsf:metadata hidden="true" name="Screen"/> 586 <GS3URL> 587 <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/metadataList/metadata[@name = 'httpPath']"/> 588 <xsl:text>/index/assoc/</xsl:text> 589 <xsl:value-of disable-output-escaping="yes" select="metadataList/metadata[@name='assocfilepath']"/> 590 <xsl:text>/</xsl:text> 591 <xsl:value-of disable-output-escaping="yes" select="metadataList/metadata[@name='Screen']"/> 592 </GS3URL> 593 </c> 594 </xsl:when> 595 <xsl:otherwise> 596 <td valign="top"> 597 <gsf:link type="document"> 598 <gsf:choose-metadata> 599 <gsf:metadata name="thumbicon"/> 600 <gsf:metadata name="srcicon"/> 601 </gsf:choose-metadata> 602 </gsf:link> 603 </td> 604 <td valign="top"> 605 <gsf:link type="document"> 606 <xsl:call-template name="choose-title"/> 607 </gsf:link> 608 </td> 609 </xsl:otherwise> 610 </xsl:choose> 611 </gsf:template> 612 </format> 611 613 </classifier> 612 613 614 <format/> 614 615 </browse>
Note:
See TracChangeset
for help on using the changeset viewer.