I just discovered a very handy api to import taxonomy.
I needed to do something very simple import some terms into a vocabulary (no hierarchy, no related terms, just tags..).
It is included with the taxonomy csv module in the file taxonomy_csv.api.inc
I was trying to post to a webservice and was getting the 60 error code: Peer certificate cannot be authenticated with known CA certificates. .
The webservice I was trying to reach was over https.
The solution is very simple.
You need to set curl not to verify the ssl peer. You can do this by setting an option.
My problem was I didnt want php code in my views footer. But I still needed to check if a module existed to call a function of that module.
Here is the hook_views_pre_render, what happens in the function is :
- checking for the correct view and adding content to the footer
- setting the filter format which is the full html id
- setting the empty option
When installing a xampp on mac os Mysql could throw an error #1153 - Got a packet bigger than 'max_allowed_packet' bytes
Solution : Extend the max_allowed_packet size located in Application/Xampp/xamppfiles/etc/my.cnf
On windows systems the file is called my.ini
On linux systems it is also my.cnf
This post provides a little bit of documentation about the feedapi.
There is no setting to choose how long your feed items are cached. The default cache time is 3600 sec. Which mean when you re testing the feedapi your feed isnt updated immediatly.