Giter Club home page Giter Club logo

Comments (8)

tomschr avatar tomschr commented on June 9, 2024

Ok, these properties can be retrieved easily:

  • file name: can be retrieved from xml:base attribute (is automatically inserted during profiling)
  • file maintainer and doc status from DocManager's elements
  • ID from xml:id

This needs a change in our SUSEDoc schema:

  • URL to the document: I would prefer to use one of bibilographic elements like biblioid, bibliosource etc. As we currently use the entity &github.url; anyway, we can use this information on another place.

This is impossible to get through usual XSLT 1.0 transformation:

  • "last changed" date of a file

from suse-xsl.

tomschr avatar tomschr commented on June 9, 2024

This issue relates to openSUSE/daps#281 and needs to be fixed first.

from suse-xsl.

tomschr avatar tomschr commented on June 9, 2024

The file maintainer, doc status, and ID can probably be retrieved from DocManager tags. For "last changed" date for the file and file name, I assume, you need to enhance DAPS.

@taroth21: Would that help?

from suse-xsl.

 avatar commented on June 9, 2024

Tom, what is with the commits from July 16 shown here that implement VCS URLs via bibliosource (d43c32a, f1c33e5)? I think your last commit means that you now have implemented this feature twice, unfortunately.

Also, the "last changed" date thing is not fixed.

=> Reopening.

from suse-xsl.

tomschr avatar tomschr commented on June 9, 2024

@sknorr Yes, that was a mistake. I used "fix" instead of "issue". 😢

Apart from that, I'm wondering if I should remove the bibliosource element and better rely on those DocManager elements.

from suse-xsl.

 avatar commented on June 9, 2024

I'd say yes, go for it...

from suse-xsl.

tomschr avatar tomschr commented on June 9, 2024

Some issues are not fixed, so reopen (accidently closed)

from suse-xsl.

tomschr avatar tomschr commented on June 9, 2024

@taroth21 Is this still an issue? The current 2022 HTML stylesheet doesn't show any information at all.

from suse-xsl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.