Skip to content

BibFormat: new HB and HD format templates for the people collection - #172

Open
jochenklein wants to merge 17 commits into
CERNDocumentServer:qafrom
jochenklein:cds-bibformat-people
Open

BibFormat: new HB and HD format templates for the people collection#172
jochenklein wants to merge 17 commits into
CERNDocumentServer:qafrom
jochenklein:cds-bibformat-people

Conversation

@jochenklein

Copy link
Copy Markdown

Adds new and modified format elements, and HB/HD templates for the People collection on CDS. (Requires #173, #174)

tiborsimkoand others added 12 commits September 9, 2015 16:14
* Amends documentation to warn users about not using MySQL strict
mode. (closesinveniosoftware#905)
Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
* maint-1.1:
installation: MySQL strict mode warning
Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
* FIX Changes when the missing caches are generated during bibreformat
run. The missing cache is no longer generated for records if the
bibreformat is run with -i, --collection, --field or --pattern
option.
Signed-off-by: Sebastian Witowski <sebastian.witowski@cern.ch>
Reviewed-by: Samuele Kaplun <samuele.kaplun@cern.ch>
* BETTER Allows the stamping function to accept both files and
directories.
Signed-off-by: Sebastian Witowski <sebastian.witowski@cern.ch>
* NEW Adds a new functionality that permits to obtain tarball of all
the files associated with a record. For example,
`/record/123/files/allfiles` includes all the original files in the
tarball, `/record/123/files/allfiles-small` includes only icons of 180
pixels, etc. The behaviour is governed by internal configuration
variable `CFG_BIBDOCFILE_STREAM_ARCHIVE_FORMATS`. (closesinveniosoftware#1673)
Signed-off-by: Sebastian Witowski <sebastian.witowski@cern.ch>
* maint-1.2:
WebSubmit: fix for Stamp_Uploaded_Files
BibFormat: bibreformat missing cache fix
WebAccess: fix documentation grammar mistake
installation: MySQL strict mode warning
Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
* NEW Introduces a new internal configuration variable
CFG_WEBSEARCH_BLACKLISTED_FORMATS that lists all the Invenio internal
formats that should not be exposed via perform_request_search.
(closesinveniosoftware#1712)
Reviewed-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Signed-off-by: Alessio Deiana <alessio.deiana@cern.ch>
* FIX Fixes asynchronous external collection getter tests following the
update of the Invenio project web site.
Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
* maint-1.0:
WebSearch: fix async getter tests
Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
* maint-1.1:
WebSearch: fix async getter tests
Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
* maint-1.2:
WebSearch: fix async getter tests
Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
@jochenkleinjochenklein changed the title New HB and HD format templates for the people collectionBibFormat: new HB and HD format templates for the people collectionJan 19, 2016
@jochenklein
jochenkleinforce-pushed the cds-bibformat-people branch 9 times, most recently from bf05dc1 to 68cb29fCompareJanuary 25, 2016 17:24
@@ -103,11 +102,14 @@ def format_element(bfo):
"&sc=1" + \
"&ln=" + bfo.lang
prefix = prefix_pattern % url_str

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

If there are no publications prefix_patter is not bound, probably it should be inside the if too 😉

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe also the search query could be p=author:<author_name>

* Adds function parameter to add the title to the return value for
all modified elements (optional).
* Adds INSPIRE-HEP-, CERN Phonebook-, and CERN profile page links
to the profile links element (`bfe_authority_links`).
* Adds tooltip to show depended records for control numbers, instead of
dislaying it after the control number (`bfe_authority_control_no`).
* Reimplementation of the element showing the publications.
Changes the unordered list to an ordered (numerical) list for
the publications and adds a new implementation for querying record ids
for given control numbers (`bfe_authority_publications`).
Signed-off-by: Jochen Klein <j.klein@cern.ch>
* Adds bibformat element which returns contact information including
an icon (optional). This includes email address, phone, mobile,
and fax number. Allows requesting all information or a single one.
* Adds bibformat element which returns work description including
an icon (optional). Description contains "Home Institute (short) -
Department/Group".
Signed-off-by: Jochen Klein <j.klein@cern.ch>
* Adds pre- and suffix to the bibformat elements include since HTML
tags were removed from the return value of the elements itself.
Signed-off-by: Jochen Klein <j.klein@cern.ch>
* Improves the bibformat HTML templates HB and HD for people.
Signed-off-by: Jochen Klein <j.klein@cern.ch>
* Adds vCard support for detailed profile pages for the people
collection and contains full name, affiliation, email, phone,
mobile, and fax number.
Uses microformats hCard 1.0.
Signed-off-by: Jochen Klein <j.klein@cern.ch>
@ludmilamarian

Copy link
Copy Markdown

@switowski Invenio PR?

@switowskiswitowski removed their assignment Feb 8, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@jochenklein@ludmilamarian@egabancho@switowski@tiborsimko@arcolife@Osso