org2blog / org2blog

Blog from Org mode to WordPress.

Home Page:https://github.com/org2blog/org2blog/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DESCRIPTION (aka excerpt) is not working.

chenyukang opened this issue · comments

I updated to the latest version,
DESCRIPTION (aka excerpt) is not working, the same with the old version.

I add:

#+DESCRIPTION: Here should be excerpt part.

But it does not show in WP.

@chenyukang Gotcha. In light of the current world events I won't work on this as soon as I would like. However I understand what you are saying and I will take care of this eventually.

Hey @grettke , thanks for reply!
org2blog is an important package I daily used. Grateful for your contribution.
I will also try to solve it by myself, but currently, I'm not familiar with WP's API .

Take care and keep well!

@chenyukang Thanks for your patience here: I will be working on this ASAP.

@grettke
I just made a fix for this, it's work for me now!
Please have a review.
The Travis Ci is broken, seems can not update Emacs in Travis CI.

@chenyukang That is excellent news.

Thank you for the code.

Right now I'm reading about on how WordPress uses description and excerpt in its API because when I look at how Org2Blog is using I am surprised that the former is set to nil. I will report back.

@chenyukang Just merged your change thank you very much for your time and effort.

For reference I did remove the change to DESCRIPTION because I'm going to address that in #299 as it takes a lot more changes.