Skip to content

Conversation

@ankitachy
Copy link

Description

This pull request adds a new exporter for the Citation File Format (CFF) in YAML format. The CFF format is widely used for describing software citations, and this exporter allows users to export BibTeX entries to CFF in a structured YAML format.

Changes Made

  • Added a new class CFFExporter that extends the base Exporter class.
  • Implemented the export method to serialize BibEntry data to CFF YAML format.
  • Used a StringBuilder for building the YAML content.
  • Included example fields like title and author for illustration purposes.

Added CFFExporter
changes done for CFFExporter.
@Siedlerchr
Copy link
Member

You can take a look at the existing Yaml exporter layout files, see .e.g YamlExporterTest/HayagrivaYamlExporterTest
More info
https://docs.jabref.org/collaborative-work/export/customexports#adding-a-custom-export-filter

@Siedlerchr
Copy link
Member

The issue was marked as reserved (assigned to another group of students) and I don't know if you belong to the same group.
I close this in favor of #10917

@Siedlerchr Siedlerchr closed this Feb 26, 2024
for (String author : authors) {
writer.write(" - " + author + "\n");
}
// Add more fields as needed
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not submit ChatGPT-generated code!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants