Skip to content
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

sort rss feed date descending #7

Merged
merged 3 commits into from Sep 5, 2014
Merged

sort rss feed date descending #7

merged 3 commits into from Sep 5, 2014

Conversation

dmoses
Copy link
Member

@dmoses dmoses commented Jul 7, 2014

added a sort to the rss feed so that it would display most recent citations first. request from DH.

added a sort to the rss feed so that it would display most recent
citations first.
added code for including edition information in displays.
@@ -294,7 +294,7 @@ function scholar_rss_feed($researcher) {

$solr_location = variable_get('islandora_solr_search_block_url', 'localhost:8080/solr');

$query_url = 'http://' . $solr_location . '/select?q=mods.username:' . $researcher . '&wt=xslt&tr=example_rss.xsl';
$query_url = 'http://' . $solr_location . '/select?q=mods.username:' . $researcher . '&sort=mods.dateIssued desc&wt=xslt&tr=example_rss.xsl&wt=xslt&tr=example_rss.xsl';
Copy link
Member

Choose a reason for hiding this comment

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

it looks like the wt and tr parameters are duplicated

I doubled a few of the elements. cleaned those.
ppound added a commit that referenced this pull request Sep 5, 2014
sort rss feed date descending and adding edition to output of certain genres
@ppound ppound merged commit a38b619 into roblib:master Sep 5, 2014
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.

None yet

2 participants