Center-for-Digital-Narrative / elmcip

Electronic Literature as a Model of Creativity and Innovation in Practice (ELMCIP) is a collaborative research project funded by Humanities in the European Research Area (HERA) JRP for Creativity and Innovation built in Drupal
https://elmcip.net
4 stars 0 forks source link

List/table with all creative work NIDs #346

Closed AlvaroSeica closed 7 years ago

AlvaroSeica commented 7 years ago

@steinmb could you fetch me this for class?

AlvaroSeica commented 7 years ago

@steinmb could you fetch me this for class during this week, max. on Wednesday, Sep. 6?

steinmb commented 7 years ago

Me fix! So Only the NID nothing else? Sorted by NID or do you sort it your self in excel etc anyway?

steinmb commented 7 years ago

While waiting for feedback. Here is the list of only the nid.

SELECT nid FROM node WHERE type = 'work' ORDER BY nid;

elmcip_all_work_nid.csv.zip

AlvaroSeica commented 7 years ago

@steinmb brilliant! thanks much! Just a CSV like that is perfect. Basically, we will be working with cross-ref Platform in ALL creative works during the semester so that we get that covered and done. Interestingly enough, the live site lists at https://elmcip.net/work 2852 records while your CSV lists 2854 records!

steinmb commented 7 years ago

2852 records while your CSV lists 2854 records!

It might be a few unpublished nodes. In my query I did not check the publish state.

steinmb commented 7 years ago

Yes, these two exist but are unpublished.

SELECT nid, title  FROM node WHERE type = 'work' AND status = 0 ORDER BY nid;

+------+----------+
| nid  | title    |
+------+----------+
| 7304 | FLUX RSS |
| 7305 | FLUX RSS |
+------+----------+
2 rows in set (0.00 sec)
AlvaroSeica commented 7 years ago

It makes sense! Thanks