-
Notifications
You must be signed in to change notification settings - Fork 5
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
Static site generation: Ant task for previewing articles #38
base: encoding_workflow
Are you sure you want to change the base?
Commits on Apr 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for dca6f50 - Browse repository at this point
Copy the full SHA dca6f50View commit details -
Only working task so far is to generate a preview version of a given article.
Configuration menu - View commit details
-
Copy full SHA for 49e6b29 - Browse repository at this point
Copy the full SHA 49e6b29View commit details -
Alter XSLT to be run outside Cocoon.
Some of the parameters defined in template_article.xsl already had fallback values in imported stylesheets. head.xsl can take an optional $assets-path.
Configuration menu - View commit details
-
Copy full SHA for 1d5bbbc - Browse repository at this point
Copy the full SHA 1d5bbbcView commit details
Commits on Apr 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 321f072 - Browse repository at this point
Copy the full SHA 321f072View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1282bfe - Browse repository at this point
Copy the full SHA 1282bfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bcf21a - Browse repository at this point
Copy the full SHA 4bcf21aView commit details -
Run generate_static_articles.xsl using the Ant buildfile.
The XSLT now passes parameters onto template_article.xsl, and generates a mapping between source and static article directories. Fix bug in head.xsl: when multiple <title>s are provided, only the first is used.
Configuration menu - View commit details
-
Copy full SHA for 645fda0 - Browse repository at this point
Copy the full SHA 645fda0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a33d99 - Browse repository at this point
Copy the full SHA 0a33d99View commit details
Commits on Apr 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d71571d - Browse repository at this point
Copy the full SHA d71571dView commit details -
Use file separator Ant property for OS-agnostic processing.
The resulting build file is hard to read, but would hopefully make the Ant tasks usable on Windows machines.
Configuration menu - View commit details
-
Copy full SHA for aa84a5b - Browse repository at this point
Copy the full SHA aa84a5bView commit details
Commits on May 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6187c6b - Browse repository at this point
Copy the full SHA 6187c6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 01f2f94 - Browse repository at this point
Copy the full SHA 01f2f94View commit details
Commits on May 2, 2023
-
Add "checkXmlResolver" Ant build target.
Since the xmlresolver JAR needs to be loaded when Ant starts up, the new target tests for the required Java class and, if it's not available, provides instructions for running Ant with the JAR. The new task is a dependency for the targets which use Saxon HE.
Configuration menu - View commit details
-
Copy full SHA for 3ea13ce - Browse repository at this point
Copy the full SHA 3ea13ceView commit details
Commits on May 5, 2023
-
Build out "generateSite" task.
Files are copied into the static site directory and static HTML is wrapped in DHQ trappings.
Configuration menu - View commit details
-
Copy full SHA for 67a7a51 - Browse repository at this point
Copy the full SHA 67a7a51View commit details
Commits on May 12, 2023
-
Comment out call to external Ant build file.
When restored, `generateSite` will try to find a derived build file "article-mapper.xml" which maps article directories from their source to the expected web directories.
Configuration menu - View commit details
-
Copy full SHA for 7f09ab0 - Browse repository at this point
Copy the full SHA 7f09ab0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45be5e0 - Browse repository at this point
Copy the full SHA 45be5e0View commit details
Commits on May 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 16a286f - Browse repository at this point
Copy the full SHA 16a286fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 12dfb9f - Browse repository at this point
Copy the full SHA 12dfb9fView commit details
Commits on Jun 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 737010e - Browse repository at this point
Copy the full SHA 737010eView commit details -
Add "zipPreviewArticle" task to the Ant build file.
The new task is intended to create a standalone HTML preview of an article, which can be sent to the article's author(s) for proofing.
Configuration menu - View commit details
-
Copy full SHA for f23d170 - Browse repository at this point
Copy the full SHA f23d170View commit details -
Configuration menu - View commit details
-
Copy full SHA for 703425d - Browse repository at this point
Copy the full SHA 703425dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f9ad3b2 - Browse repository at this point
Copy the full SHA f9ad3b2View commit details
Commits on Jun 6, 2023
-
Default Ant task is back to 'previewArticle'
Configuration menu - View commit details
-
Copy full SHA for 850ebe0 - Browse repository at this point
Copy the full SHA 850ebe0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50770cf - Browse repository at this point
Copy the full SHA 50770cfView commit details -
Set up a second property for the static directory path.
To reduce confusion and duplication, "toDir.base" now refers to the path to the "dhq-static" directory, which contains a directory of static files AND the derived Ant file AND the compressed ZIP. "toDir.static" refers more specifically to the directory of static files within toDir.base. Also, added an XSL message to show progress through the TOC.
Configuration menu - View commit details
-
Copy full SHA for df58229 - Browse repository at this point
Copy the full SHA df58229View commit details -
With Ash make minor fixes to static site generation such that it now …
…works EXCEPT that we have not generated the individual volume/issue index pages yet.
Configuration menu - View commit details
-
Copy full SHA for c3d2ddc - Browse repository at this point
Copy the full SHA c3d2ddcView commit details
Commits on Jun 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 11d6ed8 - Browse repository at this point
Copy the full SHA 11d6ed8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1b150a - Browse repository at this point
Copy the full SHA e1b150aView commit details
Commits on Jun 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 844d4b2 - Browse repository at this point
Copy the full SHA 844d4b2View commit details
Commits on Jun 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 581e2cf - Browse repository at this point
Copy the full SHA 581e2cfView commit details
Commits on Jul 3, 2023
-
Change name of generation routine to "issue" (from "article") because…
… it does more than just articles
Configuration menu - View commit details
-
Copy full SHA for 2affd1b - Browse repository at this point
Copy the full SHA 2affd1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f1ba2c1 - Browse repository at this point
Copy the full SHA f1ba2c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b888656 - Browse repository at this point
Copy the full SHA b888656View commit details -
Tweak how maps for transforms are handled (including moving filename …
…generation to a function which cleverly generates a map entry)
Configuration menu - View commit details
-
Copy full SHA for 9554a64 - Browse repository at this point
Copy the full SHA 9554a64View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5fd09a - Browse repository at this point
Copy the full SHA e5fd09aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09c03c5 - Browse repository at this point
Copy the full SHA 09c03c5View commit details
Commits on Jul 4, 2023
-
Handle articles that appear in 2+ issues (000109).
With this change, article resources will be copied to all relevant issue directories within the static site dir. Copying article XML is now done by Ant rather than through the XSLT.
Configuration menu - View commit details
-
Copy full SHA for 6c35064 - Browse repository at this point
Copy the full SHA 6c35064View commit details
Commits on Jul 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e5f4a98 - Browse repository at this point
Copy the full SHA e5f4a98View commit details
Commits on Jul 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for bb906f5 - Browse repository at this point
Copy the full SHA bb906f5View commit details
Commits on Aug 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 56a1fe9 - Browse repository at this point
Copy the full SHA 56a1fe9View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb89b42 - Browse repository at this point
Copy the full SHA eb89b42View commit details
Commits on Sep 14, 2023
-
Add metadata-insertion routine for experimentations with UVic Endings…
… Project staticSearch system
Configuration menu - View commit details
-
Copy full SHA for 63ead78 - Browse repository at this point
Copy the full SHA 63ead78View commit details
Commits on Sep 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f478044 - Browse repository at this point
Copy the full SHA f478044View commit details
Commits on Oct 6, 2023
-
Merge branch 'static_site_generation' of https://github.com/Digital-H…
…umanities-Quarterly/dhq-journal into static_site_generation
Configuration menu - View commit details
-
Copy full SHA for c10e5d2 - Browse repository at this point
Copy the full SHA c10e5d2View commit details
Commits on Oct 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e8012e8 - Browse repository at this point
Copy the full SHA e8012e8View commit details
Commits on Nov 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e10397f - Browse repository at this point
Copy the full SHA e10397fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 81f1dba - Browse repository at this point
Copy the full SHA 81f1dbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 580e83e - Browse repository at this point
Copy the full SHA 580e83eView commit details
Commits on Nov 2, 2023
-
Download a local copy of XHTML DTD to keep from slamming W3C server.
Also, remove references to the "dir-separator" XSLT parameter, since it isn't necessary for the stylesheet to know.
Configuration menu - View commit details
-
Copy full SHA for a3ff94b - Browse repository at this point
Copy the full SHA a3ff94bView commit details
Commits on Nov 21, 2023
-
Remove
$dir-separator
from generate_static_issues.xsl.We found that the XSLT generating static HTML from the TOC is sufficiently insulated from Windows-specific directory separators.
Configuration menu - View commit details
-
Copy full SHA for 66bb42c - Browse repository at this point
Copy the full SHA 66bb42cView commit details -
Add a file mapper to put article XML in the issue directory.
Personally, I think it makes more sense to store the XML in the same directory as the article HTML. However, DHQ's links require the XML to be in the issue directory instead.
Configuration menu - View commit details
-
Copy full SHA for f286bd5 - Browse repository at this point
Copy the full SHA f286bd5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2e42be - Browse repository at this point
Copy the full SHA f2e42beView commit details
Commits on Dec 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 77be91c - Browse repository at this point
Copy the full SHA 77be91cView commit details
Commits on Dec 8, 2023
-
Ensure that the URLs at the bottom of the page are accurate.
Added `dhq:set-up-issue-transformation()` to reduce duplication and hard-to-read variables in the template for <journal>.
Configuration menu - View commit details
-
Copy full SHA for 298eb92 - Browse repository at this point
Copy the full SHA 298eb92View commit details
Commits on Jan 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1fdcdc7 - Browse repository at this point
Copy the full SHA 1fdcdc7View commit details
Commits on Jan 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e1b125b - Browse repository at this point
Copy the full SHA e1b125bView commit details
Commits on Jan 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9278213 - Browse repository at this point
Copy the full SHA 9278213View commit details
Commits on Feb 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8da0cff - Browse repository at this point
Copy the full SHA 8da0cffView commit details -
Generate exactly one previous version of an article.
The static site generation XSLT now checks for <dhq:revisionNote> and tries to transform the previous version of the article. Not sure yet what happens when there is more than one revision to an article, however.
Configuration menu - View commit details
-
Copy full SHA for 24fc11d - Browse repository at this point
Copy the full SHA 24fc11dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b54855 - Browse repository at this point
Copy the full SHA 6b54855View commit details
Commits on Feb 6, 2024
-
Zip up stable articles in XML format, for About page.
Now the Ant build file created by generate_static_issues.xsl also includes a target for zipping up only those articles which can be considered stable. The ZIP is stored at data/dhq-xml.zip and is referenced by the DHQ About page.
Configuration menu - View commit details
-
Copy full SHA for 8494c99 - Browse repository at this point
Copy the full SHA 8494c99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8082923 - Browse repository at this point
Copy the full SHA 8082923View commit details -
Configuration menu - View commit details
-
Copy full SHA for 792136f - Browse repository at this point
Copy the full SHA 792136fView commit details
Commits on Feb 9, 2024
-
* Change hierarchy of common/lib/ directory to match what Saxon expects. * Update to Saxon 12.4.
Configuration menu - View commit details
-
Copy full SHA for 09e8ae7 - Browse repository at this point
Copy the full SHA 09e8ae7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dd0b29 - Browse repository at this point
Copy the full SHA 9dd0b29View commit details
Commits on Feb 12, 2024
-
Merge pull request #66 from Digital-Humanities-Quarterly/sydb_re-arra…
…nge_library Re-arrange library, updating to Saxon 12
Configuration menu - View commit details
-
Copy full SHA for 1459dec - Browse repository at this point
Copy the full SHA 1459decView commit details -
Configuration menu - View commit details
-
Copy full SHA for 367fb8a - Browse repository at this point
Copy the full SHA 367fb8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3edef06 - Browse repository at this point
Copy the full SHA 3edef06View commit details -
Configuration menu - View commit details
-
Copy full SHA for cee8275 - Browse repository at this point
Copy the full SHA cee8275View commit details -
Merge branch 'static_site_generation' of https://github.com/Digital-H…
…umanities-Quarterly/dhq-journal into static_site_generation
Configuration menu - View commit details
-
Copy full SHA for 103358d - Browse repository at this point
Copy the full SHA 103358dView commit details
Commits on Feb 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1b96365 - Browse repository at this point
Copy the full SHA 1b96365View commit details -
Add preview/index.html and preview/bios.html.
It seems that the preview index links to the articles in their usual place, so there's no need to copy the article HTML to another directory.
Configuration menu - View commit details
-
Copy full SHA for bac7d55 - Browse repository at this point
Copy the full SHA bac7d55View commit details -
Add indexes of DHQ articles and authors.
Also added a new template "transform-with-sorting" in order to reduce redundancy when producing an HTML page requires two transformations. The new template is not yet back-ported to older instances of this pattern.
Configuration menu - View commit details
-
Copy full SHA for c9382bc - Browse repository at this point
Copy the full SHA c9382bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fbbf56 - Browse repository at this point
Copy the full SHA 6fbbf56View commit details
Commits on Mar 6, 2024
-
Currently includes placeholder explanations of different article recommendation approaches.
Configuration menu - View commit details
-
Copy full SHA for f025945 - Browse repository at this point
Copy the full SHA f025945View commit details -
Configuration menu - View commit details
-
Copy full SHA for a13f6de - Browse repository at this point
Copy the full SHA a13f6deView commit details
Commits on Mar 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8019edc - Browse repository at this point
Copy the full SHA 8019edcView commit details
Commits on Apr 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 73ab5e0 - Browse repository at this point
Copy the full SHA 73ab5e0View commit details
Commits on Apr 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 23b41d4 - Browse repository at this point
Copy the full SHA 23b41d4View commit details
Commits on May 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5229e6d - Browse repository at this point
Copy the full SHA 5229e6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 431153d - Browse repository at this point
Copy the full SHA 431153dView commit details
Commits on May 13, 2024
-
Added finalized language describing each recommendation method
Configuration menu - View commit details
-
Copy full SHA for db1c91f - Browse repository at this point
Copy the full SHA db1c91fView commit details
Commits on May 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 847dd36 - Browse repository at this point
Copy the full SHA 847dd36View commit details -
Merge branch 'static_site_generation' of https://github.com/Digital-H…
…umanities-Quarterly/dhq-journal into static_site_generation
Configuration menu - View commit details
-
Copy full SHA for 9ad7904 - Browse repository at this point
Copy the full SHA 9ad7904View commit details
Commits on May 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1119d86 - Browse repository at this point
Copy the full SHA 1119d86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a256c9 - Browse repository at this point
Copy the full SHA 6a256c9View commit details -
change recommendation box color for better contrast with links, short…
…en <a> tag on documentation out to explore.html
Configuration menu - View commit details
-
Copy full SHA for 0c167ed - Browse repository at this point
Copy the full SHA 0c167edView commit details
Commits on May 17, 2024
-
Add 404 and 500 error pages to static site.
The error pages are generated using the fallback logic in template_article.xsl, just as Cocoon does it. However, I've edited the XSLT because it will not be able to dynamically report what URL the user tried to access.
Configuration menu - View commit details
-
Copy full SHA for 48b1882 - Browse repository at this point
Copy the full SHA 48b1882View commit details
Commits on May 21, 2024
-
replace new tsvs, edit the indexing of the xslt pull from the tsv to …
…fit new tsv format
Configuration menu - View commit details
-
Copy full SHA for 568e61b - Browse repository at this point
Copy the full SHA 568e61bView commit details
Commits on May 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 47c461d - Browse repository at this point
Copy the full SHA 47c461dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f5df700 - Browse repository at this point
Copy the full SHA f5df700View commit details
Commits on May 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3d5de3f - Browse repository at this point
Copy the full SHA 3d5de3fView commit details
Commits on May 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6473971 - Browse repository at this point
Copy the full SHA 6473971View commit details
Commits on May 28, 2024
-
Prepare to generate preview version of the site.
head.xsl introduces special CSS rules for the preview site, and topnavigation.xsl adds a "Preview" to the header. A new parameter, "previewable", determines whether these are added to the HTML output. Also, fixed the alt text for the banner and DHQ logos.
Configuration menu - View commit details
-
Copy full SHA for c995f93 - Browse repository at this point
Copy the full SHA c995f93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08b72a8 - Browse repository at this point
Copy the full SHA 08b72a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2faa52c - Browse repository at this point
Copy the full SHA 2faa52cView commit details -
Set up new Ant build target, "makeProofingSite".
generate_static_issues.xsl now includes and passes on the "doProofing" parameter when generating HTML for articles in the TOC. The XSLT does not yet transform the "editorial" articles.
Configuration menu - View commit details
-
Copy full SHA for bfd575e - Browse repository at this point
Copy the full SHA bfd575eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e41d56 - Browse repository at this point
Copy the full SHA 7e41d56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17d25cf - Browse repository at this point
Copy the full SHA 17d25cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for f1bd6d7 - Browse repository at this point
Copy the full SHA f1bd6d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3826ded - Browse repository at this point
Copy the full SHA 3826dedView commit details -
Restructure template in toc.xsl; add parameter to control noise.
toc.xsl now has a "do-list-articles" parameter, which controls whether or not every article is listed for a given issue. toc.xsl has it turned on by default. The static_issues stylesheet turns it off, because the flood of messages hides useful warnings.
Configuration menu - View commit details
-
Copy full SHA for 05f7724 - Browse repository at this point
Copy the full SHA 05f7724View commit details
Commits on May 29, 2024
-
Use new function to generate lists of recommendations.
Implements my suggestions in PR #77: to select the precise row needed without iteration; and to abstract out the code needed to build each recommendation section's list of articles.
Configuration menu - View commit details
-
Copy full SHA for 7b18112 - Browse repository at this point
Copy the full SHA 7b18112View commit details -
Configuration menu - View commit details
-
Copy full SHA for da95426 - Browse repository at this point
Copy the full SHA da95426View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3484e97 - Browse repository at this point
Copy the full SHA 3484e97View commit details -
Include "explore" HTML in the static site build.
Also, moved the regular expression into build-properties.xml, so it'll be easier to find and change in the future.
Configuration menu - View commit details
-
Copy full SHA for 1f0752a - Browse repository at this point
Copy the full SHA 1f0752aView commit details
Commits on Jun 6, 2024
-
Produce ONLY the internal preview when asked.
Added a "do-proofing-full" parameter to generate_static_issues.xsl, which, in combination with "do-proofing", determines whether the stylesheet handles all articles, TOC indexes, and compression of XML. When "do-proofing" is on and "do-proofing-full" is turned off, only the "editorial", internal preview is reproduced.
Configuration menu - View commit details
-
Copy full SHA for 38ee456 - Browse repository at this point
Copy the full SHA 38ee456View commit details -
Configuration menu - View commit details
-
Copy full SHA for 443cabc - Browse repository at this point
Copy the full SHA 443cabcView commit details -
Configuration menu - View commit details
-
Copy full SHA for d704846 - Browse repository at this point
Copy the full SHA d704846View commit details
Commits on Jun 7, 2024
-
Separate
${toDir}
property into multiple properties.The directories for the static and proofing sites are now set in build-properties.xml. The paths to those directories, and to the base directory, are still set in build.xml, with ".path" added to the property name. So, references to `${toDir.static}` may now have been changed to `${toDir.static.path}`. I've tested generateIssues and generateSite, and they work as before.
Configuration menu - View commit details
-
Copy full SHA for 9375ccb - Browse repository at this point
Copy the full SHA 9375ccbView commit details
Commits on Jun 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a948fdd - Browse repository at this point
Copy the full SHA a948fddView commit details -
Configuration menu - View commit details
-
Copy full SHA for e158852 - Browse repository at this point
Copy the full SHA e158852View commit details -
Use relative links to articles and bios from editorial/issue index.
I did not replace the link to the Internal Preview's "Articles" list yet, because the Ant process doesn't generate it.
Configuration menu - View commit details
-
Copy full SHA for 207edc8 - Browse repository at this point
Copy the full SHA 207edc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19c7b13 - Browse repository at this point
Copy the full SHA 19c7b13View commit details -
update TSVs, restructure recommendation code and add conditionals whe…
…n some articles have none or some of the three recommendation systems
Configuration menu - View commit details
-
Copy full SHA for d653eaa - Browse repository at this point
Copy the full SHA d653eaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2da73bb - Browse repository at this point
Copy the full SHA 2da73bbView commit details -
Use relative links from proofing article page to bios page.
I discovered that the code used to generate the anchor to the linked contributor's biography is out-of-sync with the code used to generate the bios page. Links will work but don't take you directly to the clicked contributor.
Configuration menu - View commit details
-
Copy full SHA for 74733eb - Browse repository at this point
Copy the full SHA 74733ebView commit details
Commits on Jun 11, 2024
-
Don't run "compressStatic" as part of "generateSite" target.
Per collaborative development meeting. We can `rsync` the static site directory to the DHQ server, rather than taking the time to compress and transmit it.
Configuration menu - View commit details
-
Copy full SHA for af4d7f8 - Browse repository at this point
Copy the full SHA af4d7f8View commit details
Commits on Jun 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7613d10 - Browse repository at this point
Copy the full SHA 7613d10View commit details -
add conditional to See Recommendations toolbar link, add a comma in t…
…he recommendation box
Configuration menu - View commit details
-
Copy full SHA for 7c99b7d - Browse repository at this point
Copy the full SHA 7c99b7dView commit details -
Provide the option to generate a full copy of DHQ for proofing.
The "generateSite" target uses the generic property to determine where files should be saved. The "makeInternalPreview" target prompts users whether they want to generate the full site or not.
Configuration menu - View commit details
-
Copy full SHA for 571fd1b - Browse repository at this point
Copy the full SHA 571fd1bView commit details -
Only prompt for
do.proofing.full
if it hasn't been set yet.So someone can issue the command `ant -Ddo.proofing.full=true makeInternalPreview` in, for instance, a headless environment.
Configuration menu - View commit details
-
Copy full SHA for 02d1b98 - Browse repository at this point
Copy the full SHA 02d1b98View commit details -
Remove starter.html from full site build.
...it's pretty obviously a Cocoon holdover.
Configuration menu - View commit details
-
Copy full SHA for ae2ba24 - Browse repository at this point
Copy the full SHA ae2ba24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21f736d - Browse repository at this point
Copy the full SHA 21f736dView commit details -
Use relative links within toolbars for published/preview articles.
Fixed path to articles from the preview index.
Configuration menu - View commit details
-
Copy full SHA for e18ae76 - Browse repository at this point
Copy the full SHA e18ae76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 458b7f2 - Browse repository at this point
Copy the full SHA 458b7f2View commit details
Commits on Jun 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 49a3223 - Browse repository at this point
Copy the full SHA 49a3223View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f9240a - Browse repository at this point
Copy the full SHA 4f9240aView commit details -
update with stable versions of tsvs, fixing quoting issues and commen…
…ted code in the title tag
Configuration menu - View commit details
-
Copy full SHA for 452d67f - Browse repository at this point
Copy the full SHA 452d67fView commit details -
Merge pull request #77 from Digital-Humanities-Quarterly/static_site_…
…generation DHQ Recommendation Box for Static Site Generation
Configuration menu - View commit details
-
Copy full SHA for df41f75 - Browse repository at this point
Copy the full SHA df41f75View commit details
Commits on Jun 17, 2024
-
Manually correct dhq2html.xsl …
@amclark42, @joelsjlee, and I had a problem with our correction to dhq2html (we did it in wrong branch, basically), so this is our attempt to get it right at least in the static_site_generation branch. My problem to move these changes to uvepss_03 branch. Sigh.
Configuration menu - View commit details
-
Copy full SHA for 5c6bc6f - Browse repository at this point
Copy the full SHA 5c6bc6fView commit details
Commits on Jun 20, 2024
-
update TSVs with Authors with Affiliations column, adjust dhq2html.xs…
…l indexing of TSVs accordingly
Configuration menu - View commit details
-
Copy full SHA for 2d23b88 - Browse repository at this point
Copy the full SHA 2d23b88View commit details
Commits on Jun 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f34aca7 - Browse repository at this point
Copy the full SHA f34aca7View commit details -
Make
help
description into one big<echo>
.It will be easier to edit the description without having to worry about shifting tags to accommodate character limits per line.
Configuration menu - View commit details
-
Copy full SHA for 767770c - Browse repository at this point
Copy the full SHA 767770cView commit details -
Add
help
documentation formakeInternalPreview
target.Also, tweaked paths in the help documentation.
Configuration menu - View commit details
-
Copy full SHA for f23c138 - Browse repository at this point
Copy the full SHA f23c138View commit details -
Edit
help
documentation forgenerateIssues
and -Site
.Also added documentation for the `compressStatic` target, since `generateSite` no longer calls it.
Configuration menu - View commit details
-
Copy full SHA for 236ba47 - Browse repository at this point
Copy the full SHA 236ba47View commit details -
Tweak the use of @sydb's
defaultnotice
target......so the notice only appears when no Ant targets were explicitly invoked (read: someone just ran `ant`). We may still decide to change the default Ant target before switching to the static site for publication.
Configuration menu - View commit details
-
Copy full SHA for 924c389 - Browse repository at this point
Copy the full SHA 924c389View commit details -
Merge branch 'static_site_generation' into static_site_preview-site
Had to add back the "get-vol" template which was needed by template_editorial_article.xsl.
Configuration menu - View commit details
-
Copy full SHA for d04b7e6 - Browse repository at this point
Copy the full SHA d04b7e6View commit details
Commits on Jun 24, 2024
-
Merge pull request #80 from Digital-Humanities-Quarterly/joel_auth_affil
update TSVs with Authors with Affiliations column, adjust dhq2html.xsl indexing of TSVs accordingly
Configuration menu - View commit details
-
Copy full SHA for a4b84c8 - Browse repository at this point
Copy the full SHA a4b84c8View commit details
Commits on Jul 1, 2024
-
Export oXygen scenario for running the "makeInternalPreview" build.
Per meeting with Syd and Julia. The scenario builds only the "editorial" section of the TOC, not any other part of the DHQ site.
Configuration menu - View commit details
-
Copy full SHA for cfe9a2c - Browse repository at this point
Copy the full SHA cfe9a2cView commit details -
Add more Ant-in-oXygen scenarios!
New scenarios for the Ant build targets: generateSite, previewArticle, and zipPreviewArticle. All scenarios load the Saxon JARs from `common/lib/`.
Configuration menu - View commit details
-
Copy full SHA for 87d2eda - Browse repository at this point
Copy the full SHA 87d2edaView commit details -
Prompt to generate a proofing copy of the full DHQ site.
Because this is preferable to running "generateSite", I removed that target from the oXygen scenarios.
Configuration menu - View commit details
-
Copy full SHA for 4a23479 - Browse repository at this point
Copy the full SHA 4a23479View commit details
Commits on Jul 2, 2024
-
Create XSLT to generate all lists of articles for proofing.
article_list.xsl produces a single webpage for a given sort method and sort direction. The new stylesheet `article_list_all.xsl` runs 6 transformations to produce every webpage variant of `editorial/articles.html`.
Configuration menu - View commit details
-
Copy full SHA for df35610 - Browse repository at this point
Copy the full SHA df35610View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1eb4f0 - Browse repository at this point
Copy the full SHA f1eb4f0View commit details -
Refactor article_list.xsl to use XSLT 3.0, reduce duplication.
I removed and condensed a lot of repeated code into two templates: one that creates and sorts all the rows of the table, and one that generates all the cells for the row corresponding to an article. Rather than nesting a table of author names into the last cell of each row, I set up an unordered list of names. I also removed the "center" class from the first two cells, because the `display:block;` CSS rule was keeping them from displaying like regular table cells. I also added comments and variables, and re-formatted the whitespace for readability.
Configuration menu - View commit details
-
Copy full SHA for fd4dbc0 - Browse repository at this point
Copy the full SHA fd4dbc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8fea22 - Browse repository at this point
Copy the full SHA b8fea22View commit details
Commits on Jul 3, 2024
-
Move sorting links outside the table, into new named template.
Rather than having table headings that serve as both labels and actionable links, I've moved the links to alternative sort pages into a list shown before the table. `<a>` elements aren't used when the link would be to the current page, which makes it easy to see at a glance which sort method is applied. The display of the table and the navigation stay consistent when navigating between pages.
Configuration menu - View commit details
-
Copy full SHA for b46ccd7 - Browse repository at this point
Copy the full SHA b46ccd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 089432e - Browse repository at this point
Copy the full SHA 089432eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b29730d - Browse repository at this point
Copy the full SHA b29730dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d701c4d - Browse repository at this point
Copy the full SHA d701c4dView commit details
Commits on Jul 5, 2024
-
Don't kill the build if the proofing directory can't be deleted.
For example, if the directory doesn't exist because this is the first time we're running "makeInternalPreview", the <delete> task shouldn't fail. Also, delete the empty `dhq-proofing/vol/` directory created by "generateArticles" when we're not proofing the full site.
Configuration menu - View commit details
-
Copy full SHA for 7e25a20 - Browse repository at this point
Copy the full SHA 7e25a20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8beda44 - Browse repository at this point
Copy the full SHA 8beda44View commit details -
Normalize whitespace in article ID.
Fixes a broken link to article 000605's XML.
Configuration menu - View commit details
-
Copy full SHA for 2bfc84a - Browse repository at this point
Copy the full SHA 2bfc84aView commit details -
Edit URLs in the recommendations box to work without a server.
Rather than starting with "/dhq/", URLs to other articles start with "../../../../" to get back to the root directory. (We could trim the `/vol/` from the full URL to reduce the path, but this seemed simpler and fairly reliable.)
Configuration menu - View commit details
-
Copy full SHA for ad0bc29 - Browse repository at this point
Copy the full SHA ad0bc29View commit details
Commits on Jul 8, 2024
-
Merge branch 'static_site_generation' into static_site_preview-site
Updated column used to create a relative link to recommended article, and added a fallback message if the URL column doesn't match expectations. (The fallback is very noisy but doesn't terminate the transformation.)
Configuration menu - View commit details
-
Copy full SHA for d0afc57 - Browse repository at this point
Copy the full SHA d0afc57View commit details -
Change default Ant target to
help
.Per DHQ collaborative development meeting. Because DHQ editors are most likely to use the oXygen transformation scenarios rather than the command line, we agreed that it is most helpful for Ant to outline the possible targets when the user hasn't explicitly said which one they want.
Configuration menu - View commit details
-
Copy full SHA for 32c4f40 - Browse repository at this point
Copy the full SHA 32c4f40View commit details -
Remove AddThis button and Editorial area "logout" button
...from sidebar.
Configuration menu - View commit details
-
Copy full SHA for 56b5518 - Browse repository at this point
Copy the full SHA 56b5518View commit details -
Use relative paths in oXygen scenarios.
The `${git(working_copy_path)}` editor variable might be new in oXygen v26; it doesn't work in v25.1.
Configuration menu - View commit details
-
Copy full SHA for a14d23c - Browse repository at this point
Copy the full SHA a14d23cView commit details
Commits on Jul 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7621122 - Browse repository at this point
Copy the full SHA 7621122View commit details
Commits on Jul 22, 2024
-
Add
path_to_home
parameter to various stylesheets.The new parameter is used to make relative links within the header navbar and the HTML <head>. It does not yet fix links in the sidebar navigation menu. Because the parameter has to be set as part of the transformation, only the regular issue indexes, contributor bios, and articles have this working so far. But it does work!
Configuration menu - View commit details
-
Copy full SHA for 8454d33 - Browse repository at this point
Copy the full SHA 8454d33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8afe010 - Browse repository at this point
Copy the full SHA 8afe010View commit details -
Use relative links in
sidenavigation.xsl
, update to XSLT 3.0.Greatly streamlined some of the code in the stylesheet.
Configuration menu - View commit details
-
Copy full SHA for 27bdc94 - Browse repository at this point
Copy the full SHA 27bdc94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85fe646 - Browse repository at this point
Copy the full SHA 85fe646View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50354cf - Browse repository at this point
Copy the full SHA 50354cfView commit details -
Add
dhq:set-up-issue-transformation#4
for setting relative paths.Explicitly set a default value for `$path_to_home` in the Internal Preview stylesheets.
Configuration menu - View commit details
-
Copy full SHA for 721afc7 - Browse repository at this point
Copy the full SHA 721afc7View commit details -
Use relative paths in static pages...
...assuming they're served out of a directory below the DHQ home directory. Also, use the "Proofing copy" header for the lists of all articles (in the Preview area), and make sure the Javascript is loaded from static pages.
Configuration menu - View commit details
-
Copy full SHA for 2c6a4b6 - Browse repository at this point
Copy the full SHA 2c6a4b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7750eb3 - Browse repository at this point
Copy the full SHA 7750eb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6861a94 - Browse repository at this point
Copy the full SHA 6861a94View commit details -
Use zipPreviewArticle to generate previewArticle.
`previewArticle` now calls zipPreviewArticle, then unzips the results. Doing it this way means that the HTML doesn't change between targets; it will always stand independent of the DHQ repository.
Configuration menu - View commit details
-
Copy full SHA for 7065156 - Browse repository at this point
Copy the full SHA 7065156View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a3d358 - Browse repository at this point
Copy the full SHA 0a3d358View commit details -
Configuration menu - View commit details
-
Copy full SHA for bad9d2d - Browse repository at this point
Copy the full SHA bad9d2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85da91c - Browse repository at this point
Copy the full SHA 85da91cView commit details -
The custom stylesheet for 000150 had a duplicate template which overrode the usual sidebar nav. I've skimmed it and there doesn't seem to be anything special about it, so I commented it out. Better to maintain the sidebar navigation in one place, not two.
Configuration menu - View commit details
-
Copy full SHA for fcb1383 - Browse repository at this point
Copy the full SHA fcb1383View commit details
Commits on Jul 23, 2024
-
Merge pull request #85 from Digital-Humanities-Quarterly/static_site_…
…preview-site Make internal preview version of DHQ for proofing the static site
Configuration menu - View commit details
-
Copy full SHA for ac26978 - Browse repository at this point
Copy the full SHA ac26978View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2773d22 - Browse repository at this point
Copy the full SHA 2773d22View commit details -
More small refactors to
sidenavigation.xsl
.Added an introductory comment with changelog.
Configuration menu - View commit details
-
Copy full SHA for e701ca9 - Browse repository at this point
Copy the full SHA e701ca9View commit details
Commits on Jul 26, 2024
-
First pass at refactoring author_index.xsl.
The stylesheet now does a better job of handling language changes and Unicode characters with accent marks etc. However, the output doesn't yet work with author_sort.xsl.
Configuration menu - View commit details
-
Copy full SHA for a1428a5 - Browse repository at this point
Copy the full SHA a1428a5View commit details -
Use "fall-through" XSLT behavior for author names.
Rather than relying on the existence of <dhq:family>, <dhq:author_name> now tries to apply templates on that element. This fixes an outstanding bug where organizational authors (e.g. "DHQ editorial team" in 000493) were described with leading commas, separating the name from a family name that didn't exist. Starting to set up to do sorting within author_index.xsl, rather than requiring another step with author_sort.xsl (which works now, btw).
Configuration menu - View commit details
-
Copy full SHA for 213e776 - Browse repository at this point
Copy the full SHA 213e776View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5a55d3 - Browse repository at this point
Copy the full SHA a5a55d3View commit details -
Compile each author's articles; remove author_sort from workflow.
The navigation aids haven't been added yet, but the authors entries look great and appear to be sorting correctly. generate_static_issues.xsl does not take transform the results of author_index.xsl with author_sort.xsl.
Configuration menu - View commit details
-
Copy full SHA for 7e181d9 - Browse repository at this point
Copy the full SHA 7e181d9View commit details -
Add internal navigation for author index.
author_index.xsl now includes a navigation bar (redesigned for accessibility), and headings for the alphabetical groupings of authors. The navbar is now represented with a list inside <nav>, rather than a table. I've adjusted the CSS to make the navbar look much like it used to, though it will now wrap on smaller screens.
Configuration menu - View commit details
-
Copy full SHA for 6e1f48a - Browse repository at this point
Copy the full SHA 6e1f48aView commit details -
Only include headings for actual letters in Authors Index.
Fixes bug due to ADHO's sort key starting with an underscore. Also, added a bunch more comments.
Configuration menu - View commit details
-
Copy full SHA for 7e5e357 - Browse repository at this point
Copy the full SHA 7e5e357View commit details
Commits on Aug 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d2852e0 - Browse repository at this point
Copy the full SHA d2852e0View commit details -
Add ARIA labels for heading and link back to navbar.
As I put in a comment, this isn't an ideal solution. I'd be more comfortable separating the heading from the link, except that I'd need buy-in from the DHQ team. So instead: a slightly more accessible implementation of what DHQ already had, plus a comment musing about how one could do better.
Configuration menu - View commit details
-
Copy full SHA for 9e77135 - Browse repository at this point
Copy the full SHA 9e77135View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a6f993 - Browse repository at this point
Copy the full SHA 5a6f993View commit details -
Move common code into template and function.
I expect these will need to be used in other stylesheets, so I'm preparing to move them to a common stylesheet.
Configuration menu - View commit details
-
Copy full SHA for 0066c2f - Browse repository at this point
Copy the full SHA 0066c2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f10e991 - Browse repository at this point
Copy the full SHA f10e991View commit details
Commits on Aug 6, 2024
-
Handle elements within an article title, remove ending whitespace.
Quotation marks and language changes are carried into the HTML output of the author index. I've added a function from dhq2html.xsl into common-components.xsl to determine which quotation marks get used. Also, whitespace is stripped from the end of the last text node inside `//titleStmt/title`. This solves a common issue where a single space would appear between the title and the comma following it.
Configuration menu - View commit details
-
Copy full SHA for 7714370 - Browse repository at this point
Copy the full SHA 7714370View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3024f27 - Browse repository at this point
Copy the full SHA 3024f27View commit details -
Move "get-article-title" template to common components stylesheet.
The title index will also need to be able to generate a link from an article title. It's easier to maintain that logic in a single place.
Configuration menu - View commit details
-
Copy full SHA for 4fdf36e - Browse repository at this point
Copy the full SHA 4fdf36eView commit details -
Start refactoring title_index.xsl.
The title_sort.xsl phase has been removed from generate_static_issues.xsl, but hasn't yet been added to the main stylesheet. The sort key also needs to be adjusted to factor in leading stopwords.
Configuration menu - View commit details
-
Copy full SHA for 45485d3 - Browse repository at this point
Copy the full SHA 45485d3View commit details
Commits on Aug 7, 2024
-
Implement language-specific stopwords for sorting titles.
The implementation works for titles with language codes placed directly on them. It will fail for titles that are mostly in English but which lead with some text marked as being in another language. Also, moved the logic for generating links to articles into a common function.
Configuration menu - View commit details
-
Copy full SHA for f74a2bc - Browse repository at this point
Copy the full SHA f74a2bcView commit details -
Handle stopwords when the first child of <title> has
@xml:lang
.DHQ doesn't have any articles fitting this use case, so I wrote a test to make sure this works. (It does.) I'll comment it out or delete it later.
Configuration menu - View commit details
-
Copy full SHA for cd8af74 - Browse repository at this point
Copy the full SHA cd8af74View commit details -
Configuration menu - View commit details
-
Copy full SHA for caf4c00 - Browse repository at this point
Copy the full SHA caf4c00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c5f8a8 - Browse repository at this point
Copy the full SHA 4c5f8a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for b552dec - Browse repository at this point
Copy the full SHA b552decView commit details -
Use CSS media queries instead of
expression()
.It looks like `expression()` was used prior to Internet Explorer 8. In dhq_screen.css, I replaced these with CSS media queries, which are a standardized way of capturing the same behavior (no greater- than symbol necessary). In dhq.css, I used `width` and `max-width` rules to capture what I _think_ the expression was trying to do. We don't need to support IE6 anymore, I hope. I also removed the full-page background image in favor of a background color and border on the sidebar. The static site now looks much the same as the Cocoon site.
Configuration menu - View commit details
-
Copy full SHA for 11b0977 - Browse repository at this point
Copy the full SHA 11b0977View commit details
Commits on Aug 30, 2024
-
Move assets copying to
generateIssues
build step.Fixes problem discovered by @jawalsh where the Javascript did not load when previewing only the Internal Preview area.
Configuration menu - View commit details
-
Copy full SHA for 7d23a25 - Browse repository at this point
Copy the full SHA 7d23a25View commit details -
Include more explanation of
$path_to_home
parameter and values.Configuration menu - View commit details
-
Copy full SHA for 7050a0c - Browse repository at this point
Copy the full SHA 7050a0cView commit details
Commits on Sep 17, 2024
-
Merge pull request #89 from Digital-Humanities-Quarterly/static_site_…
…make-standalone Make static site standalone
Configuration menu - View commit details
-
Copy full SHA for bd5a1d2 - Browse repository at this point
Copy the full SHA bd5a1d2View commit details