Comments (7)
Shouldn't this go to https://github.com/hexojs/hexo/issues ?
from site.
- Should be in https://github.com/hexojs/hexo/issues
- Is opening the file in editor such a tedious task?
from site.
The point would be to fufill (with a one-liner) a blog entry complete with title and content inside. Good for making quick blog post from mobile device via text message
from site.
This can be easily done with external scripting, no need to add to hexo core.
#!/bin/bash
TITLE=$1
shift
CONTENT=$@
MDFILE=$(hexo new $1 | cut -d" " -f4)
echo "$CONTENT" >> $MDFILE
from site.
I can send a server command to my website via my mobile device already. But I don't want to send a shell script. I thinkg it would increase the value of this software 10 fold.
from site.
What I suggest is that you send the title
and content
from mobile to server, not the script.
You can do some scripting on server side to archive the same functionality without needing to add feature to hexo-cli
.
from site.
thx a lot for advice
from site.
Related Issues (20)
- 文档中所说部署到 coding.net 上的分支为什么是 coding-pages ?? HOT 2
- hexo g生成访问public文件夹下的index.html是原文件信息 HOT 4
- Site
- 'simple-black' theme preview redirects to malicious website HOT 1
- 主题的搜索框似乎不支持中文搜索 HOT 2
- Dark Mode
- Git Section in one-command-deployment.html is incorrect HOT 1
- What is the license, please? HOT 2
- npm install failed HOT 3
- 请问怎么在hexo里用视频作为背景壁纸? HOT 1
- A slight error regarding the helpers.md document
- <!DOCTYPE html>
- WarehouseError: ID `themes` has been used HOT 1
- Does the theme page no longer have maintenance? HOT 2
- Teste site
- Fix `v7.0.0` migration guide HOT 2
- Use crowdin to translate documents HOT 14
- site
- Proposal: Japanese Translation of the Documentation HOT 1
- Hacking
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from site.