{"id":18024377,"url":"https://github.com/ekaitz-zarraga/drowmark","last_synced_at":"2026-05-17T09:49:35.754Z","repository":{"id":92659493,"uuid":"55263453","full_name":"ekaitz-zarraga/droWMark","owner":"ekaitz-zarraga","description":"VIM plugin to post in Wordpress using Markdown","archived":false,"fork":false,"pushed_at":"2018-12-04T20:13:55.000Z","size":43,"stargazers_count":0,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-13T02:42:39.251Z","etag":null,"topics":["filetype","pandoc","vim-plugins","wordpress","wordpress-xmlrpc"],"latest_commit_sha":null,"homepage":"http://www.vim.org/scripts/script.php?script_id=5374","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ekaitz-zarraga.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-01T21:28:07.000Z","updated_at":"2018-12-04T20:13:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"bdac2464-44d5-49c9-a5e2-51a4250ba296","html_url":"https://github.com/ekaitz-zarraga/droWMark","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ekaitz-zarraga/droWMark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekaitz-zarraga%2FdroWMark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekaitz-zarraga%2FdroWMark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekaitz-zarraga%2FdroWMark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekaitz-zarraga%2FdroWMark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ekaitz-zarraga","download_url":"https://codeload.github.com/ekaitz-zarraga/droWMark/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekaitz-zarraga%2FdroWMark/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279014014,"owners_count":26085345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["filetype","pandoc","vim-plugins","wordpress","wordpress-xmlrpc"],"created_at":"2024-10-30T07:12:42.508Z","updated_at":"2025-10-13T02:42:39.759Z","avatar_url":"https://github.com/ekaitz-zarraga.png","language":"Python","funding_links":["https://liberapay.com/ekaitz/"],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://liberapay.com/ekaitz/\"\u003e\n\u003cimg src=\"http://img.shields.io/liberapay/patrons/ekaitz.svg?logo=liberapay\"\u003e\n\u003c/a\u003e\n\n# droWMark\n\nVim plugin to post from VIM to WordPress using\n[Pandoc-Markdown](http://pandoc.org/README.html#pandocs-markdown).\n\nIt uses an special template in files, they are a mix between an INI header and\na MarkDown content. There is a template in `templates` directory.\n\n## How to\n\nInstall the plugin using Vundle, Pathogen (or other package management tool) or\nManually. (see below)\n\nWhen the plugin is installed, you can create a new blog entry using:\n\n```\n:NewWordPress\n```\n\nThis will insert the template file in the file you are editing and switch the\nfiletype to `drowmark` which automatically activates the `drowmark` syntax\nhighlighting. This filetype is also activated when the extension of the file is\n`.wp`. The template contains all the information needed to fill the\nconfiguration part.\n\nWhen the blog entry is finished, it is possible to post in WordPress with the\nfollowing command:\n\n```\n:PostWordPress\n```\n\nThis will ask for the username and the password before publishing the post in\nWordPress.\n\n### Upload Images\n\nAll the URLs of the images are checked. If the URL of the image is a relative\npath to a local image, it's uploaded *automagically* and the URL is changed to\nthe uploaded media file URL.\n\n## Installation\n\nInstallation could be done using a plugin manager or manually.\n\n### Manual installation\n\nCopy the directories in you `.vim` folder and you are done. Keep the\ndirectories in the correct order. For example, put all the files in `ftplugin`\nfolder inside `.vim/ftplugin` and so on.\n\n### Plugin manager installation\n\nMost of the plugin managers, like Vundle (I recommend this one) are able to\ndownload the code of the plugin from gitHub and install it correctly, putting\nthe directory tree under `.vim/bundle/droWMark` directory.\n\n### Dependencies\n\nIt is necessary to have Vim compiled with `+python` option.\n\nDependencies for the python script are:\n\n- Panflute package, wich also depends on Pandoc  \n  `pip install panflute`\n\n- Wordpress XML RPC  \n  `pip install python_wordpress_xmlrpc`\n\n- ConfigParser package  \n  `pip install configparser`\n\n## Contributing\n\nThis is a very small project I've made mostly for myself. This means a couple\nof interesting things:\n\n- It's flexible: New features could be added easily if requested.\n- It's easy to contribute: Just make a pull request, open an issue or whatever\n  you prefer.\n\nBeing a small project it's not always good. I only develop this plugin during\nmy free time and, since I'm a freelance, it's very difficult to find free time\nfor my own coding. Contributions are welcome.\n\n## Notes\n\n### Vim independent\n\nIt keeps python code as separate as possible from VIM. Python code is also\ncallable from outside with the same functionality. VIM is only an interface to\ninsert the parameters correctly.\n\n### Useful links for writing plugins\n\n- [How to write vim plugins](http://stevelosh.com/blog/2011/09/writing-vim-plugins/)\n\n- [Python in vim plugins](http://vimdoc.sourceforge.net/htmldoc/if_pyth.html#:pyfile)\n\n- [XML-RPC WordPress](http://python-wordpress-xmlrpc.readthedocs.org/en/latest/overview.html)\n\n- [Syntastic help file](https://github.com/scrooloose/syntastic/blob/master/doc/syntastic.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekaitz-zarraga%2Fdrowmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fekaitz-zarraga%2Fdrowmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekaitz-zarraga%2Fdrowmark/lists"}