Git Product home page Git Product logo

staticpress's Introduction

=== StaticPress ===
Contributors: wokamoto, megumitheme,amimotoami
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=9S8AJCY7XB8F4&lc=JP&item_name=WordPress%20Plugins&item_number=wp%2dplugins&currency_code=JPY&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted
Tags: static
Requires at least: 3.5
Tested up to: 4.5.2
Stable tag: 0.4.5

Transform your WordPress into static websites and blogs.

== Description ==

Transform your WordPress into static websites and blogs.
More documentation, you can find here: [StaticPress](http://en.staticpress.net/ "StaticPress")


= Localization =
"Static Press" has been translated into languages. Our thanks and appreciation must go to the following for their contributions:

* Japanese (ja) - [OKAMOTO Wataru](http://dogmap.jp/ "dogmap.jp") (plugin author)
* German (de) - [Olav Schettler](https://gist.github.com/oschettler/492541398b49d11cb746 "oschettler")

If you have translated into your language, please let me know.

== Installation ==

1. Upload the entire `staticpress` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.

== Frequently Asked Questions ==

none

== Screenshots ==

1. Sidebar menu

2. The admin page

3. Rebuild!

== Changelog ==

**0.4.5 - May 27, 2016**

Added movie ext for movie contents
Added validations.

**0.4.4 - June 19, 2015**

add Turkish Translation
adds woff2 support for fonts
remove needless cast
For wp_remote_get on SSL

**0.4.3.7 - December 25,2014**

Bug fix

**0.4.3.6 - November 5, 2014**

fixed Windows issue.

**0.4.3.5 - July 15, 2014**

fixed a case of message: 'PHP Notice: Trying to get property of non-object

**0.4.3.4 - November 19, 2013**

Unable to uninstall because of wrong filename.

**0.4.3.2 - June 19, 2013**

minor bug fix.

**0.4.3.1 - June 15, 2013**

some fix

**0.4.3 - June 11, 2013**

create 404.html.
added some filter (and action) hook.

**0.4.2.1 - June 7, 2013**

minor bug fix.

**0.4.2 - June 7, 2013**

source code refactoring

**0.4.0 - May 14, 2013**  

Initial release.

staticpress's People

Contributors

44uk avatar hideokamoto avatar k1low avatar mecrazy avatar oschettler avatar peteschuster avatar tmaroschik avatar vijk avatar wokamoto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

staticpress's Issues

Basic認証をかけているとHTMLが吐かれない

Basic認証をかけると「フェッチ開始」のまま止まってしまったり、画像やcssなどのhtml以外のファイルだけしか出力しないです。

Basic 認証はWP BASIC Authというプラグインを使ったり、通常通り.htaccessを使ったりしましたが、どの場合でも上記の現象が発生します。

Do not replace CDN URLs

My theme contained a href="//cdn-images.mailchimp.com/embedcode/...". It was replaced to href="/static//cdn-images.mailchimp.com/embedcode/...".

Instead, hrefs to CDNs should stay untouched.

srcset want be not absolute

<img class="alignnone size-medium wp-image-24" 
src="/wp-content/uploads/2016/05/13092134_1754933144751190_6771984623030290556_n-215x300.jpg" 
alt="13092134_1754933144751190_6771984623030290556_n" 
width="215" 
height="300" 
srcset="http://example.com/wp-content/uploads/2016/05/13092134_1754933144751190_6771984623030290556_n-215x300.jpg 215w, http:///example.com/wp-content/uploads/2016/05/13092134_1754933144751190_6771984623030290556_n.jpg 688w" 
sizes="(max-width: 215px) 85vw, 215px" />

Only Export New/Updated Files

Hey folks,

The site which we're using this on is getting bigger everyday so now it is taking almost an hour to complete.
As most of these pages do not need updating, I'm looking for a way to tell the plugin to only export new pages/files and items that have been updated in the last 24 hours.

Any advice would be very much appreciated.

Thank you.

Do not forget parent themes of child themes

My theme is a child theme of the parent theme. In the static/ directory, only files from the child theme are generated.
Instead, also files from the parent theme should be generated.

Cannot export RSS feed

Hi.

RSS file ( /feed ) cannot be exported.
It seems sometimes it was successful but after that it is failure.
Any solutions about this?

こんにちは。
RSSフィード(/feed)が「再構築」ボタンを押下しても更新されなくなりました。
サイトを作成して最初のころは成功していたようなのですが、何かをきっかけに、ファイルがエクスポートされないようです。

新しい投稿を作成したりすることが契機になるのかと思い、いろいろな契機を作ってみましたが、エクスポートされませんでした。

何か解決策はあるのでしょうか?
Wordpressダッシュボード内の操作で解決できるものでしょうか?
それとも Staticpress に問題がありますでしょうか?

ディレクトリの作成に失敗するとフェッチ開始が表示された後、無応答になります

お世話になります

Ver.0.4.12において、
https://github.com/megumiteam/staticpress/blob/master/includes/class-static_press.php#L360
にて作成しようとするディレクトリの書き込み権限がなかった場合、再構築ボタンを押下した後に下記表示がされた後、無応答の状態になります。

初期化中...

URL

author_archive (2)
front_page (1)
seo_files (2)
single (933)
static_file (902)
term_archive (95)
フェッチ開始

書き込みができない場合にエラーメッセージを表示すると良いと思います。

Single Page not exported preoperly. Get a Page not found error.

Hi guys,
thanks for your nice plugin.
It worked flawlessly for 3 years for me, but then I renamed a page from Multimedia to Videos.
Since then it is listed when I rebuild my StaticPress, but the content is only a
Not Found
Sorry, but you are looking for something that isn't here.

How can I debug, what is going wrong? I already completely deleted the page and created it again, but still the problem remains ): All other pages of my site work without problems.

Thanks for any hints!
Andreas

HTML名のフォルダと拡張子のない中身ができる

WordPress 4.2.4のカスタム投稿を使ったサイトで使わせていただいています。

画像をアップしている投稿が以下のようになってしまい、静的HTMLができずアクセスもできません。
【インストール先】/【カスタム投稿名】/01.html/画像名(拡張子なし)
こちら設定の問題でしょうか?
※実際の画像は【インストール先】/wp-content/uploads/以下にあります

なお、カスタム投稿のパーマリンクをCustom Post Type Permalinksプラグインで以下のように変更しています。
【インストール先】/【カスタム投稿名】/%postname%.html

Can't rebuild on vccw environment with WordPress 4.0.1

ローカル上のVagrant環境にてStaticPressの導入を行っていますが、
初回の再構築を実行したところ、初期化中にエラーが発生してしまい、
処理を完了できませんでした。

仮想環境は、vccwをほぼ初期設定の状態で構築しており、
WordPressのバージョンは4.0.1を利用しておりますが、
このような場合、エラーの原因に心当たりはありますでしょうか?

もし何か分かりましたら、ご教授いただけますと幸いです。

環境:
Mac OS X 10.9.5
VirtualBox 4.3.18
Vagrant 1.6.5

出力先ディレクトリ:
/var/www/wordpress/

ver0.4.3.6で再構築が失敗する

WordPress4.1で0.4.3.5から0.4.3.6へのアップデート後、一度静的ファイルを削除して再構築を行うと途中でエラーが出て失敗しました。
未サポートのWP4.1特有の問題だったら申し訳ないですが、そうでもなさそうなのでこちらに投稿させていただきます。

b5480c5

上記コミットのstatic_press::make_subdirectories()の修正を元に戻すと正常に動作しているようです。
make_subdirectoriesとの命名なので、引数に入ったファイル名の上位ディレクトリすべての存在をチェックし、足りない分を生成するためのメソッドですよね。
しかし、こちらの修正が入った後では、ファイルの親ディレクトリ1つのみを存在チェック・生成しているようです。親ディレクトリだけでなく、親の親のディレクトリなどが存在しない場合、エラーが起こるのだと思いますが、いかがでしょうか?

More documentation

Hi,
Can you clarify following.

How does this plugin works when a new post is created do we need to do manuall rebuild or it automatically rebuilds the newer portions.

overall a bit more clear documentation would help. I am really rooting for this plugin as this worked smoothly with multisite installation also and would be a great tool where other static generators failed.

Site Export Runs forever, high CPU usage, no results

I can not see any logs, so sorry for unclear description, however the plugin just hangs with very high cpu usage on export while the gui just shows Fetch Start. Only stop safter php max execution time.

Please test your plugin befoer release.

I tested an export with the simply static plugin, works with zero problems in a few seconds, near to zero cpu usage. Please look at that plugin, maybe it would be better to contribute to that well working plugin with your ideas!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.