I've added the following lines to WordPressApi.js to grab additional info, this helps with permalink construction, etc. Could these be included to the code?
Added 'slug' to author (ln 115)
name: authorData.name,
slug: authorData.slug,
url: authorData.url || authorData.link,
avatarUrl: authorData.avatar_urls[Object.keys(authorData.avatar_urls).pop()],
Added 'id' and 'slug' to metadata (~ln 160)
let metadata = {
id: rawEntry.id,
slug: rawEntry.slug,
};
I don't us wordpress.com so not sure if these would also work on HostedWordPressApi.js but they might.
I've added the following lines to WordPressApi.js to grab additional info, this helps with permalink construction, etc. Could these be included to the code?
Added 'slug' to author (ln 115)
Added 'id' and 'slug' to metadata (~ln 160)
I don't us wordpress.com so not sure if these would also work on HostedWordPressApi.js but they might.