Comments (2)
date ヘッダの時刻を変更してエントリを更新するユースケースは存在するので、ファイルの内容比較で date ヘッダを無視することはできない。entry.updated
が空ならサーバ側でエントリ更新実行時の時刻が更新日時になる仕様なので、date ヘッダがない場合は @date
を null にするとよい?
from hatenablogwriter.
date ヘッダがない場合は
@date
を null にするとよい?
それをやると既存の date ヘッダがないエントリのハッシュ値が変わってしまうので、やはりファイル更新日時が変わった時にエントリが更新されてしまう。バージョンアップ後 fix_data サブコマンドで直してもらうしかない?
from hatenablogwriter.
Related Issues (11)
- Mac, Windows で動作しない HOT 3
- エントリファイルを Windows のメモ帳で編集するとヘッダが認識されない HOT 1
- 投稿したエントリ内の文字実体参照が文字に展開されてしまう HOT 4
- HatenaBlogWriter.rbの140行目でundefined method HOT 3
- HTMLタグで始まるエントリファイルが正常に投稿されない HOT 2
- category ヘッダの末尾に空白文字があると data のハッシュ値が変わってしまう HOT 1
- v0.8.3のhbwdl.rbがエラーになる HOT 3
- 最初の投稿の前にhbwdl.rbなどを実行するとdataフォルダがないためエラーになる HOT 1
- いったん公開したエントリを「draft: yes」にして再投稿するとエラーが出る? HOT 2
- 絵文字への対応 HOT 8
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 hatenablogwriter.