![]() It makes stopping and restarting of the servers so much easier:įorever start -a -l iframely.log -killSignal =SIGTERM cluster.js We highly recommend using PM2 or Forever process managers. To run server in cluster mode, use node cluster From Iframely home directory: node server ![]() Valid cache engine values are no-cache, node-cache (default), redis and memcached.įor Redis and Memcached, the connection options are also required. 0 for 'never expire' to let cache engine decide itself when to evict the record In your local config file, define caching parameters: CACHE_ENGINE: 'memcached',ĬACHE_TTL: 0, // In milliseconds. Iframely has built-in cache with support of Memcached, Redis and Node.js in-memory cache module. If need be, you can also fine-tune API response time by disabling image size detection. Readability parser to get the HTML of the articles is optional and is turned off by default as it affects the processing time of the URLs. Please, enter your own application keys and secret tokens where applicable. There are also some provider-specific values that are required for some domain plugins to work (e.g. ![]() You may also override any values from main config.js in your local config. Follow the comments put in .SAMPLE for particular settings. For example, .Įdit the sample config file as you need. If you support various environment configs and pass it as NODE_ENV, create config files that match your environments. This local config file will be ignored when you pull new versions from Git later on. Please create your local config file and adjust settings. lib/kerberos.h:5:27: fatal error: gssapi/gssapi.h: No such file or directory during npm install then try to install libkrb5-dev: sudo apt-get install libkrb5-dev Configure Iframely It will also install all the package dependencies. Install it from pre-built installer for your platform or from any of the package managers. There are few cases, when rendering of embed content is required by the server, for example the articles.Įven though Iframely tries to detect and eliminate any insecure code of 3rd parties, for cross-domain security of your application, it will be wiser to keep render endpoints under different domain and allow your main domain in CORS settings (see config options below). It is highly recommended that you install the parsers on a dedicated domain. Here are the instructions to get your instance of APIs up and running. You can start self-hosting any time, as APIs are nearly identical (except the hosted version requires API key and can output the HTML of smart iFrames). It’s a Node.js library and server published under MIT license. Code Generating Quality All data are processed using Aspose APIs, which are established well in the software industry and used by many Fortune 100 companies across 114 countries.The source-code of Iframely parsers engine is hosted on GitHub.No plugin or software installation required for you. Generate iFrame from any Device It works from all platforms including Windows, Linux, Mac OS, Android and iOS.Fast and Easy iFrame Generator Simply enter the URL of the iframe you want to embed, select the required options, click the “Create iframe“ button and gain the generated HTML code.It works online and does not require any software installation. Can I run application on Linux, Mac OS or Android? You can use our app on any operating system with a web browser.What browser should I use to generate iframe? You can use any modern browser for iframe code creating, for example, Google Chrome, Firefox, Opera, Safari or Edge.You can create iframe with the required parameters in a few seconds. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |