<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-9179946770178049794</id><updated>2024-11-15T03:59:49.995-08:00</updated><category term="apache"/><category term="update"/><category term="Beginners"/><category term="CSRF"/><category term="CSRFFilter"/><category term="SSL"/><category term="alfresco"/><category term="bash"/><category term="command"/><category term="create"/><category term="grobid"/><category term="https"/><category term="installation"/><category term="java"/><category term="mod_proxy"/><category term="nutch"/><category term="parsing"/><category term="pdf"/><category term="semaphores"/><category term="solr"/><title type='text'>Knowledge Base</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://thinkersbase.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://thinkersbase.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Vaibhav</name><uri>http://www.blogger.com/profile/00308596503093789965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQH3aIPdO0Q1YGETfYL6ZFNl8wpsz059rMO-euLo4Mll4MzgP1w4HRaoJbSRGOadeHfRMh3W-1ROuo-0gp8_2yHHnk9bCYb9LJNLgdMPFojURdYgqogLy-QaW5upQyhcA/s220/IMG20191222074015+%281%29.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>25</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9179946770178049794.post-8216892907636961696</id><published>2024-03-20T03:59:00.000-07:00</published><updated>2024-03-20T03:59:22.303-07:00</updated><title type='text'>Could not start a new session. Response code 500. Message: Failed to read marionette port</title><content type='html'>There is bug in firefox binary installed using apt/snap, I faced same issue when I installed firefox from apt package respository. I solved this by downloading firefox from &lt;a href=&quot;https://download-installer.cdn.mozilla.net/pub/firefox/releases/116.0.3/linux-x86_64/en-US/firefox-116.0.3.tar.bz2&quot;&gt;official mozilla source&lt;/a&gt; and symlinked binary to /usr/bin/firefox/&lt;br /&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;First remove firefox from you system.&lt;/li&gt;&lt;/ul&gt;

&lt;div&gt;&lt;div class=&quot;code&quot;&gt;apt remove firefox&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Download firefox from official source. (You may need to replace download URL)&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;code&quot;&gt;wget https://download-installer.cdn.mozilla.net/pub/firefox/releases/116.0.3/linux-x86_64/en-US/firefox-116.0.3.tar.bz2&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Extract downloaded archive to location you want. I am using opt to extract archive.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;code&quot;&gt;tar -xf firefox-116.0.3.tar.bz2 --directory /opt/&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Symlink firefox binary to /usr/bin&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;code&quot;&gt;ln -s /opt/firefox/firefox /usr/bin/firefox&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thinkersbase.blogspot.com/feeds/8216892907636961696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9179946770178049794/8216892907636961696?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/8216892907636961696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/8216892907636961696'/><link rel='alternate' type='text/html' href='http://thinkersbase.blogspot.com/2024/03/could-not-start-new-session-response.html' title='Could not start a new session. Response code 500. Message: Failed to read marionette port'/><author><name>Vaibhav</name><uri>http://www.blogger.com/profile/00308596503093789965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQH3aIPdO0Q1YGETfYL6ZFNl8wpsz059rMO-euLo4Mll4MzgP1w4HRaoJbSRGOadeHfRMh3W-1ROuo-0gp8_2yHHnk9bCYb9LJNLgdMPFojURdYgqogLy-QaW5upQyhcA/s220/IMG20191222074015+%281%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9179946770178049794.post-3968331884152929724</id><published>2024-03-20T03:49:00.000-07:00</published><updated>2024-03-20T03:49:45.542-07:00</updated><title type='text'>Install imagick extension in PHP</title><content type='html'>&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Install required packages&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;div class=&quot;code&quot;&gt;yum install php-pear php-devel gcc &lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Install ImageMagick&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;code&quot;&gt;yum install ImageMagick&lt;br /&gt;yum install ImageMagick-devel&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Install ImageMagick PHP Extension&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class=&quot;code&quot;&gt;pecl install imagick &lt;br /&gt;echo &quot;extension=imagick.so&quot; &amp;gt; /etc/php.d/imagick.ini&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;b&gt;-- OR&lt;/b&gt;&lt;/h3&gt;&lt;br /&gt;Enable remi repository for centos using below guide.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://www.ubuntumint.com/install-remi-repo-in-rhel-centos-rocky-almalinux/&quot;&gt;https://www.ubuntumint.com/install-remi-repo-in-rhel-centos-rocky-almalinux/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Once remi repository enabled, you can directly install it from repository using yum.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt; &lt;div class=&quot;code&quot;&gt;yum install php-pecl-imagick&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Restart Apache and check the installation&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class=&quot;code&quot;&gt;service httpd restart&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thinkersbase.blogspot.com/feeds/3968331884152929724/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9179946770178049794/3968331884152929724?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/3968331884152929724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/3968331884152929724'/><link rel='alternate' type='text/html' href='http://thinkersbase.blogspot.com/2024/03/install-imagick-extension-in-php.html' title='Install imagick extension in PHP'/><author><name>Vaibhav</name><uri>http://www.blogger.com/profile/00308596503093789965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQH3aIPdO0Q1YGETfYL6ZFNl8wpsz059rMO-euLo4Mll4MzgP1w4HRaoJbSRGOadeHfRMh3W-1ROuo-0gp8_2yHHnk9bCYb9LJNLgdMPFojURdYgqogLy-QaW5upQyhcA/s220/IMG20191222074015+%281%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9179946770178049794.post-2015963303042558090</id><published>2021-04-13T22:53:00.014-07:00</published><updated>2021-11-25T23:08:01.604-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="update"/><title type='text'>Upgrade ubuntu 18.10(comic) to 20.04(focal)</title><content type='html'>&lt;div&gt;
   &lt;span face=&quot;Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif&quot;&gt;
      &lt;span style=&quot;color: #040405;&quot;&gt;
         &lt;div&gt;Upgrade ubuntu 18.10(comic) to 20.04(focal)&lt;/div&gt;
         &lt;div&gt;Ubuntu 18.10 has been end of life since 18th July 2019. It looks like they have now removed it (cosmic) completely from the apt repository.&lt;/div&gt;
         &lt;div&gt;&lt;br /&gt;&lt;/div&gt;
         &lt;div&gt;You can still get Ubuntu 18.10 packages if you change your apt sources (/etc/apt/sources.list) to point to http://old-releases.ubuntu.com/ubuntu/. Note that these are not maintained and no security fixes will be applied.&lt;/div&gt;
         &lt;div&gt;&lt;br /&gt;&lt;/div&gt;
         &lt;div&gt;A much better alternative, if you can, is to upgrade your system to a later version (eg: Ubuntu 20.04 LTS). There&#39;s an official tutorial on how to upgrade from 18.04 to 20.04.&lt;/div&gt;
         &lt;div&gt;&lt;br /&gt;&lt;/div&gt;
         &lt;div&gt;The technique used should also apply to upgrading from 18.10, however please note that you may not be able to upgrade directly from 18.10 to 20.04. This may require multiple &quot;hops&quot;; meaning upgrading via another version or two to get all the way to 20.04. Follow below procedure to upgrade unsupported (18.10) version to latest&lt;/div&gt;
         &lt;div&gt;&lt;br /&gt;&lt;/div&gt;
         &lt;div class=code&gt;mkdir /tmp/comicupgrade&lt;/div&gt;
         &lt;div class=code&gt;cd /tmp/comicupgrade&lt;/div&gt;
         &lt;div class=code&gt;wget http://old-releases.ubuntu.com/ubuntu/dists/disco-updates/main/dist-upgrader-all/current/disco.tar.gz&lt;/div&gt;
         &lt;div class=code&gt;tar -xf disco.tar.gz&lt;/div&gt;
         &lt;div class=code&gt;python3 ./dist-upgrade.py&lt;/div&gt;
         &lt;div&gt;&lt;br /&gt;&lt;/div&gt;
         &lt;div&gt;Do not turn off or reboot system between upgrade.&lt;/div&gt;
         &lt;div&gt;Once you are successfully updated to 19.04(Disco) you need upgrade to 19.10(eoan), again follow the same procedure.&lt;/div&gt;
         &lt;div&gt;&lt;br /&gt;&lt;/div&gt;
         &lt;div class=code&gt;mkdir /tmp/eoanupgrade&lt;/div&gt;
         &lt;div class=code&gt;cd /tmp/eoanupgrade&lt;/div&gt;
         &lt;div class=code&gt;wget http://old-releases.ubuntu.com/ubuntu/dists/eoan/main/dist-upgrader-all/current/eoan.tar.gz&lt;/div&gt;
         &lt;div class=code&gt;tar -xf eoan.tar.gz&lt;/div&gt;
         &lt;div class=code&gt;python3 ./dist-upgrade.py&lt;/div&gt;
      &lt;/span&gt;
   &lt;/span&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thinkersbase.blogspot.com/feeds/2015963303042558090/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9179946770178049794/2015963303042558090?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/2015963303042558090'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/2015963303042558090'/><link rel='alternate' type='text/html' href='http://thinkersbase.blogspot.com/2021/04/upgrade-ubuntu-1810comic-to-2004focal.html' title='Upgrade ubuntu 18.10(comic) to 20.04(focal)'/><author><name>Vaibhav</name><uri>http://www.blogger.com/profile/00308596503093789965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQH3aIPdO0Q1YGETfYL6ZFNl8wpsz059rMO-euLo4Mll4MzgP1w4HRaoJbSRGOadeHfRMh3W-1ROuo-0gp8_2yHHnk9bCYb9LJNLgdMPFojURdYgqogLy-QaW5upQyhcA/s220/IMG20191222074015+%281%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9179946770178049794.post-9000146055270667154</id><published>2020-02-04T04:56:00.006-08:00</published><updated>2021-11-25T23:27:22.872-08:00</updated><title type='text'>Download and Install Virtualmin/Webmin on centos/ubuntu</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I am writing this blog as virtualmin/webmin is now being popular to manage Ubuntu and CentOS easily for normal users. &lt;br /&gt;
Virtualmin with webmin provides comprehensive command line interface, full API, sysadmin-friendly defaults, auditing, unmatched security features, Virtualmin is built on top of, and integrated with, Webmin. Webmin is the world&#39;s most popular Linux/UNIX systems management UI.&lt;br /&gt;
&lt;div&gt;
There are dozens of options for choosing how the new user interface behaves, allowing you to more thoroughly customize your experience and that of your users.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Lets we start the virtualmin installation now&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
All we need to have a freshly (highly recommended) installed Linux box installed with OS supported by virtualmin as mentioned below.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;

&lt;div class=code&gt;CentOS/RHEL 6 and 7 on i386 and x86_64&lt;/div&gt;
&lt;div class=code&gt;Debian 9 and 10 on i386 and amd64&lt;/div&gt;
&lt;div class=code&gt;Ubuntu 16.04 LTS and 18.04 LTS on i386 and amd64 (non-LTS releases are not supported)&lt;/div&gt;

&lt;blockquote class=&quot;tr_bq&quot;&gt;
ref : &lt;a href=&quot;https://www.virtualmin.com/os-support.html&quot;&gt;https://www.virtualmin.com/os-support.html&lt;/a&gt;&lt;/blockquote&gt;
Now install wget if not available in your Linux OS.&lt;br /&gt;
For Ubuntu
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
$sudo apt install wget&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
For CentOS
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
$sudo yum install wget&lt;/div&gt;
&lt;br /&gt;
Now we need to download script to start virtualmin installation.&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
wget http://software.virtualmin.com/gpl/scripts/install.sh&lt;/div&gt;
Its time to start installation now. Execute below command to run downloaded script.
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
sudo /bin/sh install.sh&lt;/div&gt;
The install script may ask you some questions. If your system does not have a fully qualified hostname, the script will ask you to provide one. Or, if your system doesn&#39;t have enough memory for the installation type you&#39;ve chosen, it&#39;ll offer to create a swap file.
&lt;br /&gt;
&lt;br /&gt;
Now you can login to your virtualmin control panel with https://hostname-or ip:10000/.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;b&gt;&lt;i&gt;e.g, &lt;a href=&quot;https://localhost:10000/&quot;&gt;https://localhost:10000/&lt;/a&gt;&lt;/i&gt;&lt;/b&gt;&lt;/blockquote&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thinkersbase.blogspot.com/feeds/9000146055270667154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9179946770178049794/9000146055270667154?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/9000146055270667154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/9000146055270667154'/><link rel='alternate' type='text/html' href='http://thinkersbase.blogspot.com/2020/02/download-and-install-virtualmin-on.html' title='Download and Install Virtualmin/Webmin on centos/ubuntu'/><author><name>Vaibhav</name><uri>http://www.blogger.com/profile/00308596503093789965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQH3aIPdO0Q1YGETfYL6ZFNl8wpsz059rMO-euLo4Mll4MzgP1w4HRaoJbSRGOadeHfRMh3W-1ROuo-0gp8_2yHHnk9bCYb9LJNLgdMPFojURdYgqogLy-QaW5upQyhcA/s220/IMG20191222074015+%281%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9179946770178049794.post-2800565266121958759</id><published>2020-02-02T14:51:00.004-08:00</published><updated>2021-11-25T23:37:45.607-08:00</updated><title type='text'>For loop in bash</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;How do I use bash for loop to repeat certain task under Linux / UNIX operating system? How do I set infinite loops using for statement? How do I use three-parameter for loop control expression? &lt;/li&gt;
&lt;li&gt;A ‘for loop’ is a bash programming language statement which allows code to be repeatedly executed. A for loop is classified as an iteration statement i.e. it is the repetition of a process within a bash script. For example, you can run UNIX command or task 5 times or read and process list of files using a for loop. A for loop can be used at a shell prompt or within a shell script itself.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;b&gt;or loop syntax&lt;/b&gt;&lt;br /&gt;
Numeric ranges for syntax is as follows:&lt;br /&gt;
&lt;div&gt;
  &lt;div class=code&gt;
&lt;pre lang=&quot;bash&quot; style=&quot;background-color: white; color: #353535;&quot;&gt;for VARIABLE in 1 2 3 4 5 .. N
do
 command1
 command2
 commandN
done&lt;/pre&gt;&lt;/div&gt;

OR
&lt;br /&gt;
&lt;div class=code&gt;&lt;pre lang=&quot;bash&quot; style=&quot;background-color: white; color: #353535;&quot;&gt;for VARIABLE in file1 file2 file3
do
 command1 on $VARIABLE
 command2
 commandN
done&lt;/pre&gt;&lt;/div&gt;

OR
&lt;br /&gt;
&lt;div class=code&gt;&lt;pre lang=&quot;bash&quot; style=&quot;background-color: white; color: #353535;&quot;&gt;for OUTPUT in $(Linux-Or-Unix-Command-Here)
do
 command1 on $OUTPUT
 command2 on $OUTPUT
 commandN
done&lt;/pre&gt;&lt;/div&gt;
This type of for loop is characterized by counting. The range is specified by a beginning (#1) and ending number (#5). The for loop executes a sequence of commands for each member in a list of items. A representative example in BASH is as follows to display welcome message 5 times with for loop
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
&lt;pre lang=&quot;bash&quot;&gt;#!/bin/bash
for i in 1 2 3 4 5
do
   echo &quot;Welcome $i times&quot;
done
&lt;/pre&gt;
&lt;/div&gt;
&lt;br/&gt;

Sometimes you may need to set a step value (allowing one to count by two’s or to count backwards for instance). Latest&amp;nbsp;&lt;strong&gt;bash version 3.0+&lt;/strong&gt;&amp;nbsp;has inbuilt support for setting up ranges

&lt;div class=&quot;code&quot;&gt;
&lt;pre lang=&quot;bash&quot;&gt;#!/bin/bash
for i in {1..5}
do
   echo &quot;Welcome $i times&quot;
done&lt;/pre&gt;&lt;/div&gt;


Bash v4.0+ has inbuilt support for setting up a step value using {&lt;span class=&quot;amp-wp-6feabf3&quot; style=&quot;color: #993399;&quot;&gt;START&lt;/span&gt;&lt;strong&gt;..&lt;/strong&gt;&lt;span class=&quot;amp-wp-6feabf3&quot; style=&quot;color: #993399;&quot;&gt;END&lt;/span&gt;&lt;strong&gt;..&lt;/strong&gt;&lt;span class=&quot;amp-wp-6feabf3&quot; style=&quot;color: #993399;&quot;&gt;INCREMENT&lt;/span&gt;} syntax:

&lt;div class=&quot;code&quot;&gt;
&lt;pre lang=&quot;bash&quot;&gt;#!/bin/bash
echo &quot;Bash version ${BASH_VERSION}...&quot;
for i in {0..10..2}
  do 
     echo &quot;Welcome $i times&quot;
 done&lt;/pre&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; margin-bottom: 1em; padding: 0px; white-space: normal;&quot;&gt;
Sample outputs:&lt;/div&gt;
&lt;pre&gt;Bash version 4.0.33(0)-release...
Welcome 0 times
Welcome 2 times
Welcome 4 times
Welcome 6 times
Welcome 8 times
Welcome 10 times&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thinkersbase.blogspot.com/feeds/2800565266121958759/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9179946770178049794/2800565266121958759?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/2800565266121958759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/2800565266121958759'/><link rel='alternate' type='text/html' href='http://thinkersbase.blogspot.com/2020/02/for-loop-in-bash.html' title='For loop in bash'/><author><name>Vaibhav</name><uri>http://www.blogger.com/profile/00308596503093789965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQH3aIPdO0Q1YGETfYL6ZFNl8wpsz059rMO-euLo4Mll4MzgP1w4HRaoJbSRGOadeHfRMh3W-1ROuo-0gp8_2yHHnk9bCYb9LJNLgdMPFojURdYgqogLy-QaW5upQyhcA/s220/IMG20191222074015+%281%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9179946770178049794.post-2673749163548261687</id><published>2018-03-27T01:55:00.009-07:00</published><updated>2021-11-25T23:52:06.689-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="Beginners"/><category scheme="http://www.blogger.com/atom/ns#" term="command"/><category scheme="http://www.blogger.com/atom/ns#" term="create"/><category scheme="http://www.blogger.com/atom/ns#" term="installation"/><category scheme="http://www.blogger.com/atom/ns#" term="solr"/><category scheme="http://www.blogger.com/atom/ns#" term="update"/><title type='text'>Beginners guide for solr installation </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Check Java version&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
1. You can install Solr in any system where a suitable Java Runtime Environment (JRE) is available, as detailed below. You will need the Java Runtime Environment (JRE) version 1.8 or higher. At a command line, check your Java version with below command&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
&lt;div&gt;
&lt;i&gt;[root@ABC]# java -version&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
openjdk version &quot;1.8.0_151&quot;&lt;/div&gt;
&lt;div&gt;
OpenJDK Runtime Environment (build 1.8.0_151-b12)&lt;/div&gt;
&lt;div&gt;
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Download Solr&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Download solr from http://lucene.apache.org/solr/ and extract with below command&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;code&quot;&gt;
tar zxf solr-x.y.z.tgz&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Now enter to solr directory with cd command and start solr with below command&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
Start Solr&lt;/h2&gt;
&lt;div&gt;
&lt;div class=&quot;code&quot;&gt;
cd solr-x.y.gz/
  &lt;br&gt;
bin/solr start
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Now you can access solr in browser with port 8983&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
You will need to create a core to upload some data. Core creation command will be as follows.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;code&quot;&gt;
bin/solr create -c CORE_NAME
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
You can now loacate new core in web interface also you can add some fields. To upload/insert data into solr you need to create data in json format. Lets take a below example to upload data in solr.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
$ curl http://localhost:8983/solr/demo/update -d &#39;&lt;br /&gt;
[&lt;br /&gt;
&amp;nbsp;{&quot;id&quot; : &quot;book1&quot;,&lt;br /&gt;
&amp;nbsp; &quot;title_t&quot; : &quot;The Way of Kings&quot;,&lt;br /&gt;
&amp;nbsp; &quot;author_s&quot; : &quot;Brandon Sanderson&quot;&lt;br /&gt;
&amp;nbsp;}&lt;br /&gt;
]&#39;&lt;br /&gt;
&lt;/div&gt;
&lt;br /&gt;
now you can check inserted data on web interface,&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
$ curl http://localhost:8983/solr/demo/get?id=book1&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &quot;doc&quot;: {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &quot;id&quot; : &quot;book1&quot;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &quot;author_s&quot;: &quot;Brandon Sanderson&quot;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &quot;title_t&quot; : &quot;The Way of Kings&quot;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &quot;_version_&quot;: 1410390803582287872&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
}
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thinkersbase.blogspot.com/feeds/2673749163548261687/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9179946770178049794/2673749163548261687?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/2673749163548261687'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/2673749163548261687'/><link rel='alternate' type='text/html' href='http://thinkersbase.blogspot.com/2018/03/beginners-guide-for-solr-installation.html' title='Beginners guide for solr installation '/><author><name>Vaibhav</name><uri>http://www.blogger.com/profile/00308596503093789965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQH3aIPdO0Q1YGETfYL6ZFNl8wpsz059rMO-euLo4Mll4MzgP1w4HRaoJbSRGOadeHfRMh3W-1ROuo-0gp8_2yHHnk9bCYb9LJNLgdMPFojURdYgqogLy-QaW5upQyhcA/s220/IMG20191222074015+%281%29.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9179946770178049794.post-9108506614332745776</id><published>2018-03-27T01:19:00.002-07:00</published><updated>2018-04-17T03:29:37.373-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="alfresco"/><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="CSRF"/><category scheme="http://www.blogger.com/atom/ns#" term="CSRFFilter"/><category scheme="http://www.blogger.com/atom/ns#" term="https"/><category scheme="http://www.blogger.com/atom/ns#" term="mod_proxy"/><category scheme="http://www.blogger.com/atom/ns#" term="SSL"/><title type='text'>CSRF Filter error on Share login with HTTPS/SSL </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
In Alfresco  CSRF filter has been added to Share in order to prevent Cross-Site Request Forgery attacks. When you configure a web server in front of Share to serve virtual hosts through HTTPS, a CSRF error could occur. To run the CSRF Token Filterbehind a web server Apache with mod_proxy and SSLEngine you may need to update the Origin and Referer headers in the CSRF Token Filter. In this article I show two possible solutions.&lt;br /&gt;
&lt;br /&gt;
Apache VirtualHost&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
&amp;lt;VirtualHost *:443&amp;gt;        &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ServerName example.com        &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ProxyPass / http://localhost:8080/        &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ProxyPassReverse / http://localhost:8080/        &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SSLEngine on        &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SSLProtocol all        &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SSLCertificateFile /SSL_PATH/mycert.crt        &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SSLCertificateKeyFile /SSL_PATH/mycert.crt.key        &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SSLCertificateChainFile /SSL_PATH/mycert.crt.intermediate&lt;br /&gt;
&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
CSRF possible error when you login to Share&lt;/div&gt;
&lt;div class=&quot;code&quot;&gt;
INFO [site.servlet.CSRFFilter] [ajp-apr-8009-exec-4] Possible CSRF attack noted when asserting referer&lt;br /&gt;
header &#39;https://example.com/share/page/&#39;. Request: POST /share/page/dologinERROR [alfresco.web.site] [ajp-apr-8009-exec-4] javax.servlet.ServletException: Possible CSRF attack noted when asserting referer&lt;br /&gt;
header &#39;https://example.com/share/page/&#39;. Request: POST /share/page/dologin&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;b&gt;SOLUTION&lt;/b&gt;  &lt;br /&gt;
&lt;br /&gt;
Set the Referer and Origin in the CSRF Token Filter&lt;br /&gt;
Edit “CSR Policy” in TOMCAT_HOME/shared/classes/alfresco/web-extension/share-config-custom.xml, Uncomment &quot;CSRF Policy&quot; and add referrer and origin properties&lt;br /&gt;
&lt;br /&gt;
&lt;div class=code&gt;
&lt;div&gt;
&amp;lt;config evaluator=&quot;string-compare&quot; condition=&quot;CSRFPolicy&quot; replace=&quot;true&quot;&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;properties&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;token&amp;gt;Alfresco-CSRFToken&amp;lt;/token&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;referer&amp;gt;https://example.com/.*&amp;lt;/referer&amp;gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;origin&amp;gt;https://example.com&amp;lt;/origin&amp;gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/properties&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;lt;/config&amp;gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thinkersbase.blogspot.com/feeds/9108506614332745776/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9179946770178049794/9108506614332745776?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/9108506614332745776'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/9108506614332745776'/><link rel='alternate' type='text/html' href='http://thinkersbase.blogspot.com/2018/03/csrf-filter-error-on-share-login-with.html' title='CSRF Filter error on Share login with HTTPS/SSL '/><author><name>Vaibhav</name><uri>http://www.blogger.com/profile/00308596503093789965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQH3aIPdO0Q1YGETfYL6ZFNl8wpsz059rMO-euLo4Mll4MzgP1w4HRaoJbSRGOadeHfRMh3W-1ROuo-0gp8_2yHHnk9bCYb9LJNLgdMPFojURdYgqogLy-QaW5upQyhcA/s220/IMG20191222074015+%281%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9179946770178049794.post-5995424829221369671</id><published>2018-03-16T12:53:00.000-07:00</published><updated>2018-03-27T01:21:36.246-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="grobid"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="nutch"/><category scheme="http://www.blogger.com/atom/ns#" term="parsing"/><category scheme="http://www.blogger.com/atom/ns#" term="pdf"/><title type='text'>Parsing PDF with grobid</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; margin-top: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #404040; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;PDF parsing for headers and its sub contents are really very difficult (It doesn&#39;t mean its impossible ) as PDF comes in various formats. But I recently encountered with tool named **GROBID** which can helps in this scenario. I know it&#39;s not perfect but if we provide proper training it can accomplish our goals.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; margin-top: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #404040; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h1 style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 25.2px; margin-top: 0px;&quot;&gt;
Install GROBID&lt;/h1&gt;
&lt;blockquote style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; line-height: 24px; margin: 0px 0px 24px 24px;&quot;&gt;
&lt;/blockquote&gt;
&lt;h2 id=&quot;getting-grobid&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 21.6px; margin-top: 0px;&quot;&gt;
Getting GROBID&lt;/h2&gt;
&lt;h3 id=&quot;latest-stable-release&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 18px; font-weight: 300; margin-top: 0px;&quot;&gt;
Latest stable release&lt;/h3&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px;&quot;&gt;
The&amp;nbsp;&lt;a href=&quot;https://github.com/kermitt2/grobid#latest-version&quot; style=&quot;box-sizing: border-box; color: #9b59b6; text-decoration-line: none;&quot;&gt;latest stable release&lt;/a&gt;&amp;nbsp;of GROBID is version&amp;nbsp;&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;0.5.1&lt;/code&gt;&amp;nbsp;which can be downloaded as follow:&lt;/div&gt;
&lt;pre style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: monospace, serif; font-size: 14.4px;&quot;&gt;&lt;code class=&quot;bash hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;&amp;gt; wget https://github.com/kermitt2/grobid/archive/&lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;0.5&lt;/span&gt;.&lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;1&lt;/span&gt;.zip
&amp;gt; unzip &lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;0.5&lt;/span&gt;.&lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;1&lt;/span&gt;.zip
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px;&quot;&gt;
or using the&amp;nbsp;&lt;a href=&quot;https://grobid.readthedocs.io/en/latest/Grobid-docker/&quot; style=&quot;box-sizing: border-box; color: #9b59b6; text-decoration-line: none;&quot;&gt;docker&lt;/a&gt;&amp;nbsp;container.&lt;/div&gt;
&lt;h3 id=&quot;current-development-version&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 18px; font-weight: 300; margin-top: 0px;&quot;&gt;
Current development version&lt;/h3&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px;&quot;&gt;
The current development version is&amp;nbsp;&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;0.6.0-SNAPSHOT&lt;/code&gt;, which can be downloaded from GitHub and built as follow:&lt;/div&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px;&quot;&gt;
Clone source code from github:&lt;/div&gt;
&lt;pre style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: monospace, serif; font-size: 14.4px;&quot;&gt;&lt;code class=&quot;bash hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;&amp;gt; git &lt;span class=&quot;hljs-built_in&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;clone&lt;/span&gt; https://github.com/kermitt2/grobid.git
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px;&quot;&gt;
Or download directly the zip file:&lt;/div&gt;
&lt;pre style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: monospace, serif; font-size: 14.4px;&quot;&gt;&lt;code class=&quot;bash hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;&amp;gt; wget https://github.com/kermitt2/grobid/zipball/master&lt;/code&gt;&lt;code class=&quot;bash hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;&amp;gt; unzip master&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&quot;build-grobid&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 21.6px; margin-top: 0px;&quot;&gt;
&lt;/h2&gt;
&lt;h2 id=&quot;build-grobid&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 21.6px; margin-top: 0px;&quot;&gt;
Build GROBID&lt;/h2&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Please make sure that Grobid is installed in a path with no parent directories containing spaces.&lt;/strong&gt;&lt;/div&gt;
&lt;h3 id=&quot;build-grobid-with-gradle&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 18px; font-weight: 300; margin-top: 0px;&quot;&gt;
Build GROBID with Gradle&lt;/h3&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px;&quot;&gt;
The standard method for building GROBID is to use gradle. Under the main directory&amp;nbsp;&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;grobid/&lt;/code&gt;:&lt;/div&gt;
&lt;pre style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: monospace, serif; font-size: 14.4px;&quot;&gt;&lt;code class=&quot;bash hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;&amp;gt; ./gradlew clean install
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px;&quot;&gt;
By default, tests are ignored. For building the project and running the tests, use:&lt;/div&gt;
&lt;pre style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: monospace, serif; font-size: 14.4px;&quot;&gt;&lt;code class=&quot;bash hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;&amp;gt; ./gradlew clean install &lt;span class=&quot;hljs-built_in&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;test&lt;/span&gt;&lt;/code&gt;&lt;code class=&quot;bash hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;&lt;span class=&quot;hljs-built_in&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;code class=&quot;bash hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;&lt;span class=&quot;hljs-built_in&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;&lt;h1 style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 25.2px; margin-top: 0px; white-space: normal;&quot;&gt;
GROBID Service API&lt;/h1&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
The GROBID Web API provides a simple and efficient way to use the tool. A service console is available to test GROBID in a human friendly manner. For production and benchmarking, we strongly recommand to use this web service mode on a multi-core machine and to avoid running GROBID in the batch mode.&lt;/div&gt;
&lt;h2 id=&quot;start-the-server&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 21.6px; margin-top: 0px; white-space: normal;&quot;&gt;
Start the server&lt;/h2&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
Go under the&amp;nbsp;&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;grobid/&lt;/code&gt;&amp;nbsp;main directory. Be sure that the GROBID project is built, see&amp;nbsp;&lt;a href=&quot;https://grobid.readthedocs.io/en/latest/Install-Grobid/&quot; style=&quot;box-sizing: border-box; color: #9b59b6; text-decoration-line: none;&quot;&gt;Install GROBID&lt;/a&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
The following command will start the server on the default port&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;8070&lt;/strong&gt;:&lt;/div&gt;
&lt;pre style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: monospace, serif; font-size: 14.4px;&quot;&gt;&lt;code class=&quot;bash hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;&amp;gt; ./gradlew run
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
You can check whether the service is up and running by opening the following URL:&lt;/div&gt;
&lt;ul style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; line-height: 24px; list-style-image: initial; list-style-position: initial; margin: 0px 0px 24px; padding: 0px; white-space: normal;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box; list-style: disc; margin-left: 24px;&quot;&gt;&lt;div style=&quot;box-sizing: border-box; font-size: 16px; line-height: 24px;&quot;&gt;
&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;http://yourhost:8070/api/version&lt;/code&gt;&amp;nbsp;will return you the current version&lt;/div&gt;
&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; list-style: disc; margin-left: 24px;&quot;&gt;&lt;div style=&quot;box-sizing: border-box; font-size: 16px; line-height: 24px;&quot;&gt;
&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;http://yourhost:8070/api/isalive&lt;/code&gt;&amp;nbsp;will return true/false whether the service is up and running&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;configure-the-server&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 21.6px; margin-top: 0px; white-space: normal;&quot;&gt;
Configure the server&lt;/h2&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
If required, modify the file under&amp;nbsp;&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;grobid/grobid-service/config/config.yaml&lt;/code&gt;&amp;nbsp;for starting the server on a different port or if you need to change the absolute path to your&amp;nbsp;&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;grobid-home&lt;/code&gt;&amp;nbsp;(e.g. when running on production). By default&amp;nbsp;&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;grobid-home&lt;/code&gt;&amp;nbsp;is located under&amp;nbsp;&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;grobid/grobid-home&lt;/code&gt;.&amp;nbsp;&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;grobid-home&lt;/code&gt;&amp;nbsp;contains all the models and static resources required to run GROBID.&lt;/div&gt;
&lt;div&gt;
&lt;h2 id=&quot;use-grobid-test-console&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 21.6px; margin-top: 0px; white-space: normal;&quot;&gt;
Use GROBID test console&lt;/h2&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
On your browser, the welcome page of the Service console is available at the URL&amp;nbsp;&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;http://localhost:8070&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
On the console, the RESTful API can be tested under the&amp;nbsp;&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;TEI&lt;/code&gt;&amp;nbsp;tab for service returning a TEI document, under the&amp;nbsp;&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;PDF&lt;/code&gt;&amp;nbsp;tab for services returning annotations relative to PDF or an annotated PDF and under the&amp;nbsp;&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;Patent&lt;/code&gt;&amp;nbsp;tab for patent-related services&lt;/div&gt;
&lt;h3 id=&quot;pdf-to-tei-conversion-services&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 18px; font-weight: 300; margin-top: 0px; white-space: normal;&quot;&gt;
PDF to TEI conversion services&lt;/h3&gt;
&lt;h4 id=&quot;apiprocessheaderdocument&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 16.56px; font-weight: 300; margin-top: 0px; white-space: normal;&quot;&gt;
/api/processHeaderDocument&lt;/h4&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
Extract the header of the input PDF document, normalize it and convert it into a TEI XML format.&lt;/div&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
&lt;em style=&quot;box-sizing: border-box;&quot;&gt;consolidateHeader&lt;/em&gt;&amp;nbsp;is a string of value 0 (no consolidation) or 1 (consolidate, default value).&lt;/div&gt;
&lt;table class=&quot;docutils&quot; style=&quot;background-color: #fcfcfc; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #404040; empty-cells: show; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; margin-bottom: 24px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box; color: black; vertical-align: bottom; white-space: nowrap;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); border-left-width: 0px; box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;method&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;request type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;response type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;parameters&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;requirement&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;description&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;POST, PUT&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;multipart/form-data&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;application/xml&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;input&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;required&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;PDF file to be processed&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;consolidateHeader&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;optional&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;consolidateHeader is a string of value 0 (no consolidation) or 1 (consolidate, default value)&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
You can test this service with the&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;cURL&lt;/strong&gt;&amp;nbsp;command lines, for instance header extraction from a PDF file in the current directory:&lt;/div&gt;
&lt;pre style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: monospace, serif; font-size: 14.4px;&quot;&gt;&lt;code class=&quot;bash hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;curl -v --form input=@./thefile.pdf localhost:&lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;8070&lt;/span&gt;/api/processHeaderDocument
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;apiprocessfulltextdocument&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 16.56px; font-weight: 300; margin-top: 0px; white-space: normal;&quot;&gt;
/api/processFulltextDocument&lt;/h4&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
Convert the complete input document into TEI XML format (header, body and bibliographical section).&lt;/div&gt;
&lt;table class=&quot;docutils&quot; style=&quot;background-color: #fcfcfc; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #404040; empty-cells: show; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; margin-bottom: 24px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box; color: black; vertical-align: bottom; white-space: nowrap;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); border-left-width: 0px; box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;method&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;request type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;response type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;parameters&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;requirement&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;description&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;POST, PUT&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;multipart/form-data&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;application/xml&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;input&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;required&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;PDF file to be processed&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 1px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;consolidateHeader&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;optional&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;consolidateHeader is a string of value 0 (no consolidation) or 1 (consolidate, default value)&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;consolidateCitations&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;optional&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;consolidateCitations is a string of value 0 (no consolidation, default value) or 1 (consolidate all found citations)&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;teiCoordinates&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;optional&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;list of element names for which coordinates in the PDF document have to be added, see&amp;nbsp;&lt;a href=&quot;https://grobid.readthedocs.io/en/latest/Coordinates-in-PDF/&quot; style=&quot;box-sizing: border-box; color: #9b59b6; text-decoration-line: none;&quot;&gt;Coordinates of structures in the original PDF&lt;/a&gt;&amp;nbsp;for more details&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
You can test this service with the&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;cURL&lt;/strong&gt;&amp;nbsp;command lines, for instance fulltext extraction (header, body and citations) from a PDF file in the current directory:&lt;/div&gt;
&lt;pre style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: monospace, serif; font-size: 14.4px;&quot;&gt;&lt;code class=&quot;bash hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;curl -v --form input=@./thefile.pdf localhost:&lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;8070&lt;/span&gt;/api/processFulltextDocument
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
fulltext extraction and add coordinates to the figures (and tables) only:&lt;/div&gt;
&lt;pre style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: monospace, serif; font-size: 14.4px;&quot;&gt;&lt;code class=&quot;bash hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;&amp;gt; curl -v --form input=@./&lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;12248&lt;/span&gt;_2011_Article_9260.pdf --form teiCoordinates=figure --form teiCoordinates=biblStruct localhost:&lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;8070&lt;/span&gt;/api/processFulltextDocument
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
fulltext extraction and add coordinates for all the supported coordinate elements (sorry for the ugly cURL syntax on this, but that&#39;s how cURL is working!):&lt;/div&gt;
&lt;pre style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: monospace, serif; font-size: 14.4px;&quot;&gt;&lt;code class=&quot;bash hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;&amp;gt; curl -v --form input=@./&lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;12248&lt;/span&gt;_2011_Article_9260.pdf --form teiCoordinates=persName --form teiCoordinates=figure --form teiCoordinates=ref --form teiCoordinates=biblStruct --form teiCoordinates=formula localhost:&lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;8070&lt;/span&gt;/api/processFulltextDocument
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;apiprocessreferences&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 16.56px; font-weight: 300; margin-top: 0px; white-space: normal;&quot;&gt;
/api/processReferences&lt;/h4&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
Extract and convert all the bibliographical references present in the input document into TEI XML format.&lt;/div&gt;
&lt;table class=&quot;docutils&quot; style=&quot;background-color: #fcfcfc; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #404040; empty-cells: show; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; margin-bottom: 24px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box; color: black; vertical-align: bottom; white-space: nowrap;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); border-left-width: 0px; box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;method&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;request type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;response type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;parameters&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;requirement&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;description&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;POST, PUT&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;multipart/form-data&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;application/xml&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;input&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;required&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;PDF file to be processed&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;consolidateCitations&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;optional&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;consolidateCitations is a string of value 0 (no consolidation, default value) or 1 (consolidate all found citations)&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
You can test this service with the&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;cURL&lt;/strong&gt;&amp;nbsp;command lines, for instance extraction and parsing of all references from a PDF in the current directory without consolidation (default value):&lt;/div&gt;
&lt;pre style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: monospace, serif; font-size: 14.4px;&quot;&gt;&lt;code class=&quot;bash hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;curl -v --form input=@./thefile.pdf localhost:&lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;8070&lt;/span&gt;/api/processReferences
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id=&quot;raw-text-to-tei-conversion-services&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 18px; font-weight: 300; margin-top: 0px; white-space: normal;&quot;&gt;
Raw text to TEI conversion services&lt;/h3&gt;
&lt;h4 id=&quot;apiprocessdate&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 16.56px; font-weight: 300; margin-top: 0px; white-space: normal;&quot;&gt;
/api/processDate&lt;/h4&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
Parse a raw date string and return the corresponding normalized date in ISO 8601 embedded in a TEI fragment.&lt;/div&gt;
&lt;table class=&quot;docutils&quot; style=&quot;background-color: #fcfcfc; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #404040; empty-cells: show; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; margin-bottom: 24px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box; color: black; vertical-align: bottom; white-space: nowrap;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); border-left-width: 0px; box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;method&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;request type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;response type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;parameters&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;requirement&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;description&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;POST, PUT&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;application/x-www-form-urlencoded&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;application/xml&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;date&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;required&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;date to be parsed as raw string&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
You can test this service with the&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;cURL&lt;/strong&gt;&amp;nbsp;command lines, for instance parsing of a raw date string:&lt;/div&gt;
&lt;pre style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: monospace, serif; font-size: 14.4px;&quot;&gt;&lt;code class=&quot;bash hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;curl -X POST &lt;span class=&quot;hljs-operator&quot; style=&quot;box-sizing: border-box;&quot;&gt;-d&lt;/span&gt; &lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;date=September 16th, 2001&quot;&lt;/span&gt; localhost:&lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;8070&lt;/span&gt;/api/processDate
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
which will return:&lt;/div&gt;
&lt;pre style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: monospace, serif; font-size: 14.4px;&quot;&gt;&lt;code class=&quot;xml hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;date&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;when&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;2001-9-16&quot;&lt;/span&gt; /&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;apiprocessheadernames&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 16.56px; font-weight: 300; margin-top: 0px; white-space: normal;&quot;&gt;
/api/processHeaderNames&lt;/h4&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
Parse a raw string corresponding to a name or a sequence of names from a header section and return the corresponding normalized authors in TEI format.&lt;/div&gt;
&lt;table class=&quot;docutils&quot; style=&quot;background-color: #fcfcfc; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #404040; empty-cells: show; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; margin-bottom: 24px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box; color: black; vertical-align: bottom; white-space: nowrap;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); border-left-width: 0px; box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;method&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;request type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;response type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;parameters&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;requirement&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;description&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;POST, PUT&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;application/x-www-form-urlencoded&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;application/xml&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;names&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;required&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;sequence of names to be parsed as raw string&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
You can test this service with the&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;cURL&lt;/strong&gt;&amp;nbsp;command lines, for instance parsing of a raw sequence of header names string:&lt;/div&gt;
&lt;pre style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: monospace, serif; font-size: 14.4px;&quot;&gt;&lt;code class=&quot;bash hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;curl -X POST &lt;span class=&quot;hljs-operator&quot; style=&quot;box-sizing: border-box;&quot;&gt;-d&lt;/span&gt; &lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;names=John Doe and Jane Smith&quot;&lt;/span&gt; localhost:&lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;8070&lt;/span&gt;/api/processHeaderNames
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
which will return:&lt;/div&gt;
&lt;pre style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: monospace, serif; font-size: 14.4px;&quot;&gt;&lt;code class=&quot;xml hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;persName&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;xmlns&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;http://www.tei-c.org/ns/1.0&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;forename&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;first&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;John&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;forename&lt;/span&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;surname&lt;/span&gt;&amp;gt;&lt;/span&gt;Doe&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;surname&lt;/span&gt;&amp;gt;&lt;/span&gt;
&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;persName&lt;/span&gt;&amp;gt;&lt;/span&gt;
&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;persName&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;xmlns&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;http://www.tei-c.org/ns/1.0&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;forename&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;first&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;Jane&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;forename&lt;/span&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;surname&lt;/span&gt;&amp;gt;&lt;/span&gt;Smith&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;surname&lt;/span&gt;&amp;gt;&lt;/span&gt;
&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;persName&lt;/span&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;apiprocesscitationnames&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 16.56px; font-weight: 300; margin-top: 0px; white-space: normal;&quot;&gt;
/api/processCitationNames&lt;/h4&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
Parse a raw sequence of names from a bibliographical reference and return the corresponding normalized authors in TEI format.&lt;/div&gt;
&lt;table class=&quot;docutils&quot; style=&quot;background-color: #fcfcfc; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #404040; empty-cells: show; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; margin-bottom: 24px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box; color: black; vertical-align: bottom; white-space: nowrap;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); border-left-width: 0px; box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;method&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;request type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;response type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;parameters&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;requirement&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;description&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;POST, PUT&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;application/x-www-form-urlencoded&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;application/xml&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;names&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;required&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;sequence of names to be parsed as raw string&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
You can test this service with the&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;cURL&lt;/strong&gt;&amp;nbsp;command lines, for instance parsing of a raw sequence of citation names string:&lt;/div&gt;
&lt;pre style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: monospace, serif; font-size: 14.4px;&quot;&gt;&lt;code class=&quot;bash hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;curl -X POST &lt;span class=&quot;hljs-operator&quot; style=&quot;box-sizing: border-box;&quot;&gt;-d&lt;/span&gt; &lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;names=J. Doe, J. Smith and B. M. Jackson&quot;&lt;/span&gt; localhost:&lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;8070&lt;/span&gt;/api/processCitationNames
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
which will return:&lt;/div&gt;
&lt;pre style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: monospace, serif; font-size: 14.4px;&quot;&gt;&lt;code class=&quot;xml hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;persName&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;xmlns&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;http://www.tei-c.org/ns/1.0&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;forename&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;first&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;J&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;forename&lt;/span&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;surname&lt;/span&gt;&amp;gt;&lt;/span&gt;Doe&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;surname&lt;/span&gt;&amp;gt;&lt;/span&gt;
&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;persName&lt;/span&gt;&amp;gt;&lt;/span&gt;
&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;persName&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;xmlns&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;http://www.tei-c.org/ns/1.0&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;forename&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;first&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;J&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;forename&lt;/span&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;surname&lt;/span&gt;&amp;gt;&lt;/span&gt;Smith&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;surname&lt;/span&gt;&amp;gt;&lt;/span&gt;
&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;persName&lt;/span&gt;&amp;gt;&lt;/span&gt;
&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;persName&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;xmlns&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;http://www.tei-c.org/ns/1.0&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;forename&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;first&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;B&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;forename&lt;/span&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;forename&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;middle&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;M&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;forename&lt;/span&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;surname&lt;/span&gt;&amp;gt;&lt;/span&gt;Jackson&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;surname&lt;/span&gt;&amp;gt;&lt;/span&gt;
&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;persName&lt;/span&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;apiprocessaffiliations&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 16.56px; font-weight: 300; margin-top: 0px; white-space: normal;&quot;&gt;
/api/processAffiliations&lt;/h4&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
Parse a raw sequence of affiliations with or without address and return the corresponding normalized affiliations with address in TEI format.&lt;/div&gt;
&lt;table class=&quot;docutils&quot; style=&quot;background-color: #fcfcfc; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #404040; empty-cells: show; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; margin-bottom: 24px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box; color: black; vertical-align: bottom; white-space: nowrap;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); border-left-width: 0px; box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;method&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;request type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;response type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;parameters&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;requirement&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;description&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;POST, PUT&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;application/x-www-form-urlencoded&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;application/xml&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;affiliations&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;required&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;sequence of affiliations+addresses to be parsed as raw string&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
You can test this service with the&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;cURL&lt;/strong&gt;&amp;nbsp;command lines, for instance parsing of a raw affiliation string:&lt;/div&gt;
&lt;pre style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: monospace, serif; font-size: 14.4px;&quot;&gt;&lt;code class=&quot;bash hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;curl -X POST &lt;span class=&quot;hljs-operator&quot; style=&quot;box-sizing: border-box;&quot;&gt;-d&lt;/span&gt; &lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;affiliations=Stanford University, California, USA&quot;&lt;/span&gt; localhost:&lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;8070&lt;/span&gt;/api/processAffiliations
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
which will return:&lt;/div&gt;
&lt;pre style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: monospace, serif; font-size: 14.4px;&quot;&gt;&lt;code class=&quot;xml hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;affiliation&lt;/span&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;orgName&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;institution&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;Stanford University&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;orgName&lt;/span&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;address&lt;/span&gt;&amp;gt;&lt;/span&gt;
        &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;region&lt;/span&gt;&amp;gt;&lt;/span&gt;California&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;region&lt;/span&gt;&amp;gt;&lt;/span&gt;
        &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;country&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;key&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;US&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;USA&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;country&lt;/span&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;address&lt;/span&gt;&amp;gt;&lt;/span&gt;
&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;affiliation&lt;/span&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;apiprocesscitation&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 16.56px; font-weight: 300; margin-top: 0px; white-space: normal;&quot;&gt;
/api//processCitation&lt;/h4&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
Parse a raw bibliographical reference (in isolation) and return the corresponding normalized bibliographical reference in TEI format.&lt;/div&gt;
&lt;table class=&quot;docutils&quot; style=&quot;background-color: #fcfcfc; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #404040; empty-cells: show; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; margin-bottom: 24px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box; color: black; vertical-align: bottom; white-space: nowrap;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); border-left-width: 0px; box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;method&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;request type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;response type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;parameters&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;requirement&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;description&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;POST, PUT&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;application/x-www-form-urlencoded&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;application/xml&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;citations&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;required&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;bibliographical reference to be parsed as raw string&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;consolidateCitations&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;optional&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;consolidateCitations is a string of value 0 (no consolidation, default value) or 1 (consolidate the citation)&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
You can test this service with the&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;cURL&lt;/strong&gt;&amp;nbsp;command lines, for instance parsing of a raw bibliographical reference string in isolation without consolidation (default value):&lt;/div&gt;
&lt;pre style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: monospace, serif; font-size: 14.4px;&quot;&gt;&lt;code class=&quot;bash hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;curl -X POST &lt;span class=&quot;hljs-operator&quot; style=&quot;box-sizing: border-box;&quot;&gt;-d&lt;/span&gt; &lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;citations=Graff, Expert. Opin. Ther. Targets (2002) 6(1): 103-113&quot;&lt;/span&gt; localhost:&lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;8070&lt;/span&gt;/api/processCitation
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
which will return:&lt;/div&gt;
&lt;pre style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: monospace, serif; font-size: 14.4px;&quot;&gt;&lt;code class=&quot;xml hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;biblStruct&lt;/span&gt; &amp;gt;&lt;/span&gt;
    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;analytic&lt;/span&gt;&amp;gt;&lt;/span&gt;
        &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;title&lt;/span&gt;/&amp;gt;&lt;/span&gt;
        &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;author&lt;/span&gt;&amp;gt;&lt;/span&gt;
            &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;persName&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;xmlns&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;http://www.tei-c.org/ns/1.0&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;surname&lt;/span&gt;&amp;gt;&lt;/span&gt;Graff&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;surname&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;persName&lt;/span&gt;&amp;gt;&lt;/span&gt;
        &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;author&lt;/span&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;analytic&lt;/span&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;monogr&lt;/span&gt;&amp;gt;&lt;/span&gt;
        &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;title&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;level&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;j&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;Expert. Opin. Ther. Targets&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;title&lt;/span&gt;&amp;gt;&lt;/span&gt;
        &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;imprint&lt;/span&gt;&amp;gt;&lt;/span&gt;
            &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;biblScope&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;unit&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;volume&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;6&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;biblScope&lt;/span&gt;&amp;gt;&lt;/span&gt;
            &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;biblScope&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;unit&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;issue&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;1&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;biblScope&lt;/span&gt;&amp;gt;&lt;/span&gt;
            &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;biblScope&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;unit&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;page&quot;&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;from&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;103&quot;&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;to&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;113&quot;&lt;/span&gt; /&amp;gt;&lt;/span&gt;
            &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;date&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;published&quot;&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;when&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;2002&quot;&lt;/span&gt; /&amp;gt;&lt;/span&gt;
        &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;imprint&lt;/span&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;monogr&lt;/span&gt;&amp;gt;&lt;/span&gt;
&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;biblStruct&lt;/span&gt;&amp;gt;&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id=&quot;pdf-annotation-services&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 18px; font-weight: 300; margin-top: 0px; white-space: normal;&quot;&gt;
PDF annotation services&lt;/h3&gt;
&lt;h4 id=&quot;apireferenceannotations&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 16.56px; font-weight: 300; margin-top: 0px; white-space: normal;&quot;&gt;
/api/referenceAnnotations&lt;/h4&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
Return JSON annotations with coordinates in the PDF to be processed, relative to the reference informations: reference callouts with links to the full bibliographical reference and bibliographical reference with possible external URL.&lt;/div&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
As the annotations are provided for dynamic display on top a PDF rendered in javascript, no PDF is harmed during these processes !&lt;/div&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
For information about how the coordinates are provided, see&amp;nbsp;&lt;a href=&quot;https://grobid.readthedocs.io/en/latest/Coordinates-in-PDF/&quot; style=&quot;box-sizing: border-box; color: #9b59b6; text-decoration-line: none;&quot;&gt;Coordinates of structures in the original PDF&lt;/a&gt;.&lt;/div&gt;
&lt;table class=&quot;docutils&quot; style=&quot;background-color: #fcfcfc; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #404040; empty-cells: show; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; margin-bottom: 24px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box; color: black; vertical-align: bottom; white-space: nowrap;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); border-left-width: 0px; box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;method&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;request type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;response type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;parameters&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;requirement&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;description&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;POST&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;multipart/form-data&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;application/json&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;input&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;required&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;PDF file to be processed, returned coordinates will reference this PDF&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;consolidateCitations&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;optional&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;consolidateCitations is a string of value 0 (no consolidation, default value) or 1 (consolidate the citation)&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;h4 id=&quot;apiannotatepdf&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 16.56px; font-weight: 300; margin-top: 0px; white-space: normal;&quot;&gt;
/api/annotatePDF&lt;/h4&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
Return the PDF augmented with PDF annotations relative to the reference informations: reference callouts with links to the full bibliographical reference and bibliographical reference with possible external URL.&lt;/div&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
Note that this service modify the original PDF, and thus be careful with legal right and reusability of such augmented PDF! For this reason, this service is proposed for experimental purposes and might be deprecated in future version of GROBID, in favor of the above&amp;nbsp;&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;/api/referenceAnnotations&lt;/code&gt;&amp;nbsp;service.&lt;/div&gt;
&lt;table class=&quot;docutils&quot; style=&quot;background-color: #fcfcfc; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #404040; empty-cells: show; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; margin-bottom: 24px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box; color: black; vertical-align: bottom; white-space: nowrap;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); border-left-width: 0px; box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;method&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;request type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;response type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;parameters&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;requirement&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;description&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;POST&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;multipart/form-data&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;application/pdf&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;input&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;required&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;PDF file to be processed&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;consolidateCitations&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;optional&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;consolidateCitations is a string of value 0 (no consolidation, default value) or 1 (consolidate the citation)&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;h3 id=&quot;citation-extraction-and-normalization-from-patents&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 18px; font-weight: 300; margin-top: 0px; white-space: normal;&quot;&gt;
Citation extraction and normalization from patents&lt;/h3&gt;
&lt;h4 id=&quot;apiprocesscitationpatenttxt&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 16.56px; font-weight: 300; margin-top: 0px; white-space: normal;&quot;&gt;
/api/processCitationPatentTXT&lt;/h4&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
Extract and parse the patent and non patent citations in the description of a patent publication sent as UTF-8 text. Results are returned as a list of TEI citations.&lt;/div&gt;
&lt;table class=&quot;docutils&quot; style=&quot;background-color: #fcfcfc; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #404040; empty-cells: show; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; margin-bottom: 24px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box; color: black; vertical-align: bottom; white-space: nowrap;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); border-left-width: 0px; box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;method&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;request type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;response type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;parameters&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;requirement&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;description&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;POST, PUT&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;application/x-www-form-urlencoded&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;application/xml&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;input&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;required&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;patent text to be processed as raw string&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;consolidateCitations&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;optional&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;consolidateCitations is a string of value 0 (no consolidation, default value) or 1 (consolidate the citation)&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
You can test this service with the&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;cURL&lt;/strong&gt;&amp;nbsp;command lines, for instance parsing of a raw bibliographical reference string in isolation without consolidation (default value):&lt;/div&gt;
&lt;pre style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: monospace, serif; font-size: 14.4px;&quot;&gt;&lt;code class=&quot;bash hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;curl -X POST &lt;span class=&quot;hljs-operator&quot; style=&quot;box-sizing: border-box;&quot;&gt;-d&lt;/span&gt; &lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;input=In EP0123456B1 nothing interesting.&quot;&lt;/span&gt; localhost:&lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;8070&lt;/span&gt;/api/processCitationPatentTXT
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
which will return:&lt;/div&gt;
&lt;pre style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: monospace, serif; font-size: 14.4px;&quot;&gt;&lt;code class=&quot;xml hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;&lt;span class=&quot;hljs-pi&quot; style=&quot;box-sizing: border-box; color: #999999; font-weight: bold;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&lt;/span&gt;
&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;TEI&lt;/span&gt;
    &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;xmlns&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;http://www.tei-c.org/ns/1.0&quot;&lt;/span&gt;
    &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;xmlns:xlink&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;http://www.w3.org/1999/xlink&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;teiHeader&lt;/span&gt; /&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;text&lt;/span&gt;&amp;gt;&lt;/span&gt;
        &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;div&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;id&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;_mWYp9Fa&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;In EP0123456B1 nothing interesting.&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;div&lt;/span&gt;&amp;gt;&lt;/span&gt;
        &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;div&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;references&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;
            &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;listBibl&lt;/span&gt;&amp;gt;&lt;/span&gt;
                &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;biblStruct&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;patent&quot;&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;status&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;publication&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;
                    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;monogr&lt;/span&gt;&amp;gt;&lt;/span&gt;
                        &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;authority&lt;/span&gt;&amp;gt;&lt;/span&gt;
                            &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;orgName&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;regional&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;EP&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;orgName&lt;/span&gt;&amp;gt;&lt;/span&gt;
                        &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;authority&lt;/span&gt;&amp;gt;&lt;/span&gt;
                        &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;idno&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;docNumber&quot;&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;subtype&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;epodoc&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;0123456&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;idno&lt;/span&gt;&amp;gt;&lt;/span&gt;
                        &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;idno&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;docNumber&quot;&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;subtype&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;original&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;0123456&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;idno&lt;/span&gt;&amp;gt;&lt;/span&gt;
                        &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;imprint&lt;/span&gt;&amp;gt;&lt;/span&gt;
                            &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;classCode&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;scheme&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;kindCode&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;B1&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;classCode&lt;/span&gt;&amp;gt;&lt;/span&gt;
                        &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;imprint&lt;/span&gt;&amp;gt;&lt;/span&gt;
                        &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;ptr&lt;/span&gt; &lt;span class=&quot;hljs-attribute&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;target&lt;/span&gt;=&lt;span class=&quot;hljs-value&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;#string-range(&#39;mWYp9Fa&#39;,5,9)&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;ptr&lt;/span&gt;&amp;gt;&lt;/span&gt;
                    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;monogr&lt;/span&gt;&amp;gt;&lt;/span&gt;
                &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;biblStruct&lt;/span&gt;&amp;gt;&lt;/span&gt;
            &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;listBibl&lt;/span&gt;&amp;gt;&lt;/span&gt;
        &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;div&lt;/span&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;text&lt;/span&gt;&amp;gt;&lt;/span&gt;
&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;TEI&lt;/span&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;apiprocesscitationpatenttei&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 16.56px; font-weight: 300; margin-top: 0px; white-space: normal;&quot;&gt;
/api/processCitationPatentTEI&lt;/h4&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
Extract and parse the patent and non patent citations in the description of a patent publication encoded in TEI (Patent Document Model). Results are added to the original document as TEI stand-off annotations.&lt;/div&gt;
&lt;table class=&quot;docutils&quot; style=&quot;background-color: #fcfcfc; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #404040; empty-cells: show; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; margin-bottom: 24px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box; color: black; vertical-align: bottom; white-space: nowrap;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); border-left-width: 0px; box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;method&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;request type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;response type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;parameters&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;requirement&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;description&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;POST, PUT&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;multipart/form-data&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;application/xml&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;input&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;required&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;TEI file of the patent document to be processed&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;consolidateCitations&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;optional&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;consolidateCitations is a string of value 0 (no consolidation, default value) or 1 (consolidate the citation)&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;h4 id=&quot;apiprocesscitationpatentst36&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 16.56px; font-weight: 300; margin-top: 0px; white-space: normal;&quot;&gt;
/api/processCitationPatentST36&lt;/h4&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
Extract and parse the patent and non patent citations in the description of a patent publication encoded in ST.36. Results are returned as a list of TEI citations.&lt;/div&gt;
&lt;table class=&quot;docutils&quot; style=&quot;background-color: #fcfcfc; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #404040; empty-cells: show; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; margin-bottom: 24px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box; color: black; vertical-align: bottom; white-space: nowrap;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); border-left-width: 0px; box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;method&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;request type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;response type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;parameters&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;requirement&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;description&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;POST, PUT&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;multipart/form-data&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;application/xml&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;input&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;required&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;XML file in ST36 standard of the patent document to be processed&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;consolidateCitations&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;optional&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;consolidateCitations is a string of value 0 (no consolidation, default value) or 1 (consolidate the citation)&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;h4 id=&quot;apiprocesscitationpatentpdf&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 16.56px; font-weight: 300; margin-top: 0px; white-space: normal;&quot;&gt;
/api/processCitationPatentPDF&lt;/h4&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
Extract and parse the patent and non patent citations in the description of a patent publication sent as PDF. Results are returned as a list of TEI citations. Note that the text layer must be available in the PDF to be processed (which is, surprisingly in this century, very rarely the case with the PDF avaialble from the main patent offices - however the patent publications that can be downloaded from Google Patents for instance have been processed by a good quality OCR).&lt;/div&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
Extract and parse the patent and non patent citations in the description of a patent encoded in ST.36. Results are returned as a lits of TEI citations.&lt;/div&gt;
&lt;table class=&quot;docutils&quot; style=&quot;background-color: #fcfcfc; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #404040; empty-cells: show; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; margin-bottom: 24px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box; color: black; vertical-align: bottom; white-space: nowrap;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); border-left-width: 0px; box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;method&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;request type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;response type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;parameters&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;requirement&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;description&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;POST, PUT&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;multipart/form-data&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;application/xml&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;input&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;required&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;PDF file of the patent document to be processed&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;consolidateCitations&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;optional&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;consolidateCitations is a string of value 0 (no consolidation, default value) or 1 (consolidate the citation)&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;h4 id=&quot;apicitationpatentannotations&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 16.56px; font-weight: 300; margin-top: 0px; white-space: normal;&quot;&gt;
/api/citationPatentAnnotations&lt;/h4&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
This service is similar to&amp;nbsp;&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;/api/referenceAnnotations&lt;/code&gt;&amp;nbsp;but for a patent document in PDF. JSON annotations relative the the input PDF are returned with coordinates as described in the page&amp;nbsp;&lt;a href=&quot;https://grobid.readthedocs.io/en/latest/Coordinates-in-PDF/&quot; style=&quot;box-sizing: border-box; color: #9b59b6; text-decoration-line: none;&quot;&gt;Coordinates of structures in the original PDF&lt;/a&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
Patent and non patent citations can be directly visualised on the PDF layout as illustrated by the GROBID console. For patent citations, the provided external reference informations are based on the patent number normalisation and relies on Espacenet, the patent access application from the European Patent office. For non patent citation, the external references are similar as for a scientific article (CorssRef DOI link or arXiv.org if an arXiv ID is present).&lt;/div&gt;
&lt;table class=&quot;docutils&quot; style=&quot;background-color: #fcfcfc; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #404040; empty-cells: show; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; margin-bottom: 24px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box; color: black; vertical-align: bottom; white-space: nowrap;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); border-left-width: 0px; box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;method&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;request type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;response type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;parameters&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;requirement&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;description&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;POST&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;multipart/form-data&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;application/json&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;input&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;required&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;Patent publication PDF file to be processed, returned coordinates will reference this PDF&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;consolidateCitations&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;optional&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;consolidateCitations is a string of value 0 (no consolidation, default value) or 1 (consolidate the citation)&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;h3 id=&quot;administration-services&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 18px; font-weight: 300; margin-top: 0px; white-space: normal;&quot;&gt;
Administration services&lt;/h3&gt;
&lt;h4 id=&quot;configuration-of-the-password-for-the-service-adminstration&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 16.56px; font-weight: 300; margin-top: 0px; white-space: normal;&quot;&gt;
Configuration of the password for the service adminstration&lt;/h4&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
A password is required to access the administration page under the&amp;nbsp;&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;Admin&lt;/code&gt;&amp;nbsp;tab in the console. The default password for the administration console is&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;admin&lt;/strong&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
For security, the password is saved as SHA1 hash in the file&amp;nbsp;&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;grobid-service/src/main/conf/grobid_service.properties&lt;/code&gt;&amp;nbsp;with the property name&amp;nbsp;&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;org.grobid.service.admin.pw&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
To change the password, you can replace this property value by the SHA1 hash generated for your new password of choice. To generate the SHA1 from any&amp;nbsp;&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;&amp;lt;input_string&amp;gt;&lt;/code&gt;, you can use the corresponding Grobid REST service available at:&lt;/div&gt;
&lt;blockquote style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; line-height: 24px; margin: 0px 0px 24px 24px; white-space: normal;&quot;&gt;
&lt;div style=&quot;box-sizing: border-box; font-size: 16px; line-height: 24px; margin-bottom: 24px;&quot;&gt;
http://localhost:8070/api/sha1?sha1=&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;&amp;lt;input_string&amp;gt;&lt;/code&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
See below for the&amp;nbsp;&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;/api/sha1&lt;/code&gt;&amp;nbsp;service description.&lt;/div&gt;
&lt;h4 id=&quot;apiadmin&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 16.56px; font-weight: 300; margin-top: 0px; white-space: normal;&quot;&gt;
/api/admin&lt;/h4&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
Request to get parameters of&amp;nbsp;&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;grobid.properties&lt;/code&gt;&amp;nbsp;formatted in html table.&lt;/div&gt;
&lt;table class=&quot;docutils&quot; style=&quot;background-color: #fcfcfc; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #404040; empty-cells: show; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; margin-bottom: 24px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box; color: black; vertical-align: bottom; white-space: nowrap;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); border-left-width: 0px; box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;method&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;request type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;response type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;parameters&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;requirement&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;description&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;POST&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;application/x-www-form-urlencoded&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;text/html&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;sha1&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;required&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;Administration password hashed using sha1&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table class=&quot;docutils&quot; style=&quot;background-color: #fcfcfc; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #404040; empty-cells: show; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; margin-bottom: 24px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box; color: black; vertical-align: bottom; white-space: nowrap;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); border-left-width: 0px; box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;method&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;request type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;response type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;parameters&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;requirement&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;description&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;GET&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;string&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;text/html&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;sha1&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;required&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;Administration password hashed using sha1&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
Example of usage with GET method:&amp;nbsp;&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;/api/admin?sha1=&amp;lt;pwd&amp;gt;&lt;/code&gt;&lt;/div&gt;
&lt;h4 id=&quot;apisha1&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 16.56px; font-weight: 300; margin-top: 0px; white-space: normal;&quot;&gt;
/api/sha1&lt;/h4&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
Request to get an input string hashed using sha1.&lt;/div&gt;
&lt;table class=&quot;docutils&quot; style=&quot;background-color: #fcfcfc; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #404040; empty-cells: show; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; margin-bottom: 24px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box; color: black; vertical-align: bottom; white-space: nowrap;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); border-left-width: 0px; box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;method&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;request type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;response type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;parameters&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;requirement&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;description&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;POST&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;application/x-www-form-urlencoded&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;text/html&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;sha1&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;required&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;String (password) to be hashed using sha1&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table class=&quot;docutils&quot; style=&quot;background-color: #fcfcfc; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #404040; empty-cells: show; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; margin-bottom: 24px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box; color: black; vertical-align: bottom; white-space: nowrap;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); border-left-width: 0px; box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;method&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;request type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;response type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;parameters&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;requirement&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;description&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;GET&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;string&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;text/html&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;sha1&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;required&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;String (password) to be hashed using sha1&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
Example of usage with GET method:&amp;nbsp;&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;/api/sha1?sha1=&amp;lt;pwd&amp;gt;&lt;/code&gt;&lt;/div&gt;
&lt;h4 id=&quot;apiallproperties&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 16.56px; font-weight: 300; margin-top: 0px; white-space: normal;&quot;&gt;
/api/allProperties&lt;/h4&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
Request to get all properties key/value/type as XML.&lt;/div&gt;
&lt;table class=&quot;docutils&quot; style=&quot;background-color: #fcfcfc; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #404040; empty-cells: show; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; margin-bottom: 24px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box; color: black; vertical-align: bottom; white-space: nowrap;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); border-left-width: 0px; box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;method&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;request type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;response type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;parameters&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;requirement&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;description&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;POST&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;application/x-www-form-urlencoded&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;text/html&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;sha1&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;required&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;Administration password hashed using sha1&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table class=&quot;docutils&quot; style=&quot;background-color: #fcfcfc; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #404040; empty-cells: show; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; margin-bottom: 24px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box; color: black; vertical-align: bottom; white-space: nowrap;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); border-left-width: 0px; box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;method&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;request type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;response type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;parameters&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;requirement&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;description&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;GET&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;string&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;text/html&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;sha1&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;required&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;Administration password hashed using sha1&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
Example of usage with GET method:&amp;nbsp;&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;/api/allProperties?sha1=&amp;lt;password&amp;gt;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
Sent xml follow the following schema:&lt;/div&gt;
&lt;pre style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: monospace, serif; font-size: 14.4px;&quot;&gt;&lt;code class=&quot;xml hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;properties&lt;/span&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;property&lt;/span&gt;&amp;gt;&lt;/span&gt;
        &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;key&lt;/span&gt;&amp;gt;&lt;/span&gt;key&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;key&lt;/span&gt;&amp;gt;&lt;/span&gt;
        &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;value&lt;/span&gt;&amp;gt;&lt;/span&gt;value&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;value&lt;/span&gt;&amp;gt;&lt;/span&gt;
        &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;type&lt;/span&gt;&amp;gt;&lt;/span&gt;type&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;type&lt;/span&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;property&lt;/span&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;property&lt;/span&gt;&amp;gt;&lt;/span&gt;...&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;property&lt;/span&gt;&amp;gt;&lt;/span&gt;
&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;properties&lt;/span&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;apichangepropertyvalue&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #2980b9; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 16.56px; font-weight: 300; margin-top: 0px; white-space: normal;&quot;&gt;
/api/changePropertyValue&lt;/h4&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
Change the property value from the property key passed in the xml input.&lt;/div&gt;
&lt;table class=&quot;docutils&quot; style=&quot;background-color: #fcfcfc; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #404040; empty-cells: show; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; margin-bottom: 24px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box; color: black; vertical-align: bottom; white-space: nowrap;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); border-left-width: 0px; box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;method&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;request type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;response type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;parameters&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;requirement&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;description&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;POST&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;application/x-www-form-urlencoded&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;text/html&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;xml&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;required&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;XML input specifying the administrative password hashed using sha1 and a new property/value following the schema below&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table class=&quot;docutils&quot; style=&quot;background-color: #fcfcfc; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #404040; empty-cells: show; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; margin-bottom: 24px;&quot;&gt;&lt;thead style=&quot;box-sizing: border-box; color: black; vertical-align: bottom; white-space: nowrap;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); border-left-width: 0px; box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;method&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;request type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;response type&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;parameters&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;requirement&lt;/th&gt;&lt;th style=&quot;border-bottom: 2px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px;&quot;&gt;description&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;
&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 0px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;GET&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;string&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;text/html&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;xml&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;required&lt;/td&gt;&lt;td style=&quot;background-color: #f3f6f6; border-bottom: 0px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); box-sizing: border-box; font-size: 12.96px; margin: 0px; overflow: visible; padding: 8px 16px; vertical-align: middle;&quot;&gt;XML input specifying the administrative password hashed using sha1 and a new property/value following the schema below&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
Example of usage with GET method:&amp;nbsp;&lt;code style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #e74c3c; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 12px; max-width: 100%; overflow-x: auto; padding: 0px 5px; white-space: pre; word-wrap: break-word;&quot;&gt;/api/changePropertyValue?xml=&amp;lt;some_xml&amp;gt;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
XML input has to follow the following schema:&lt;/div&gt;
&lt;pre style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: monospace, serif; font-size: 14.4px;&quot;&gt;&lt;code class=&quot;xml hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;changeProperty&lt;/span&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;password&lt;/span&gt;&amp;gt;&lt;/span&gt;pwd&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;password&lt;/span&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;property&lt;/span&gt;&amp;gt;&lt;/span&gt;
        &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;key&lt;/span&gt;&amp;gt;&lt;/span&gt;key&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;key&lt;/span&gt;&amp;gt;&lt;/span&gt;
        &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;value&lt;/span&gt;&amp;gt;&lt;/span&gt;value&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;value&lt;/span&gt;&amp;gt;&lt;/span&gt;
        &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;type&lt;/span&gt;&amp;gt;&lt;/span&gt;type&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;type&lt;/span&gt;&amp;gt;&lt;/span&gt;
    &lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;property&lt;/span&gt;&amp;gt;&lt;/span&gt;
&lt;span class=&quot;hljs-tag&quot; style=&quot;box-sizing: border-box; color: navy;&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-title&quot; style=&quot;box-sizing: border-box;&quot;&gt;changeProperty&lt;/span&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&quot;parallel-mode&quot; style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: &amp;quot;Roboto Slab&amp;quot;, ff-tisa-web-pro, Georgia, Arial, sans-serif; font-size: 21.6px; margin-top: 0px; white-space: normal;&quot;&gt;
Parallel mode&lt;/h2&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
The Grobid RESTful API provides a very efficient way to use the library out of the box, because the service exploits multithreading.&lt;/div&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
The service can work following two modes:&lt;/div&gt;
&lt;ul style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; line-height: 24px; list-style-image: initial; list-style-position: initial; margin: 0px 0px 24px; padding: 0px; white-space: normal;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box; list-style: disc; margin-left: 24px;&quot;&gt;Parallel execution (default): a pool of threads is used to process requests in parallel. The following property must be set to true in the file grobid-home/config/grobid_service.properties&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: monospace, serif; font-size: 14.4px;&quot;&gt;&lt;code class=&quot;java hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;    org.grobid.service.is.parallel.execution=&lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: border-box; font-weight: bold;&quot;&gt;true&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
As Grobid is thread safe and manages a pool of parser instances, it is also possible to use several threads to call the REST service. This improves considerably the performance of the services for PDF processing because documents can be processed while other are uploaded.&lt;/div&gt;
&lt;ul style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 14.4px; line-height: 24px; list-style-image: initial; list-style-position: initial; margin: 0px 0px 24px; padding: 0px; white-space: normal;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box; list-style: disc; margin-left: 24px;&quot;&gt;Sequencial execution: a single Grobid instance is used and process the requests as a queue. The following property must be set to false in the file grobid-home/config/grobid_service.properties&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: monospace, serif; font-size: 14.4px;&quot;&gt;&lt;code class=&quot;java hljs&quot; style=&quot;background: rgb(255, 255, 255); border: 1px solid rgb(225, 228, 229); box-sizing: border-box; color: #333333; display: block; font-family: Consolas, &amp;quot;Andale Mono WT&amp;quot;, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Lucida Sans Typewriter&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;Nimbus Mono L&amp;quot;, Monaco, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 10.8px; max-width: 100%; overflow-x: auto; padding: 0.5em; text-size-adjust: none;&quot;&gt;    org.grobid.service.is.parallel.execution=&lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: border-box; font-weight: bold;&quot;&gt;false&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
This mode is adapted for server running with a low amount of RAM, for instance less than 2GB, otherwise the default parallel execution must be used.&lt;/div&gt;
&lt;div style=&quot;background-color: #fcfcfc; box-sizing: border-box; color: #404040; font-family: Lato, proxima-nova, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; white-space: normal;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thinkersbase.blogspot.com/feeds/5995424829221369671/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9179946770178049794/5995424829221369671?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/5995424829221369671'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/5995424829221369671'/><link rel='alternate' type='text/html' href='http://thinkersbase.blogspot.com/2018/03/pdf-parsing-for-headers-and-its-sub.html' title='Parsing PDF with grobid'/><author><name>Vaibhav</name><uri>http://www.blogger.com/profile/00308596503093789965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQH3aIPdO0Q1YGETfYL6ZFNl8wpsz059rMO-euLo4Mll4MzgP1w4HRaoJbSRGOadeHfRMh3W-1ROuo-0gp8_2yHHnk9bCYb9LJNLgdMPFojURdYgqogLy-QaW5upQyhcA/s220/IMG20191222074015+%281%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9179946770178049794.post-2406344549027422712</id><published>2018-03-15T03:46:00.002-07:00</published><updated>2018-03-15T03:55:05.555-07:00</updated><title type='text'>Create a Linux Swap </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; border: 0px; font-size: 18px; font-stretch: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;i&gt;Swap space/partition is space on a disk created for use by the operating system when memory has been fully utilized. It can be used as virtual memory for the system; it can either be a partition or a file on a disk.&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; font-size: 18px; font-stretch: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;i&gt;When the kernel runs out of memory, it can move idle/inactive processes into swap creating room for active processes in the working memory. This is memory management that involves swapping sections of memory to and from virtual memory.&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1.&lt;/span&gt;&amp;nbsp;In this example, we will create a swap file of size&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;2GB&lt;/span&gt;&amp;nbsp;using the dd command as follows. Note that&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;bs=1024&lt;/span&gt;means read and write up to&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1024&lt;/span&gt;&amp;nbsp;bytes at a time and&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;count = (1024 x 2048)MB&lt;/span&gt;&amp;nbsp;size of the file.&lt;/div&gt;
&lt;pre style=&quot;background-color: #051e30; border-color: rgb(40, 159, 244); border-image: initial; border-style: solid; border-width: 1px 1px 1px 4px; color: white; font-family: &amp;quot;Courier 10 Pitch&amp;quot;, Courier, monospace; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 19px; margin-bottom: 30px; margin-top: 30px; overflow-x: auto; overflow-y: hidden; padding: 10px 10px 10px 18px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;# dd if=/dev/zero of=/mnt/swapfile bs=1024 count=2097152
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
Alternatively, use the&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;fallocate command&lt;/span&gt;&amp;nbsp;as follows.&lt;/div&gt;
&lt;pre style=&quot;background-color: #051e30; border-color: rgb(40, 159, 244); border-image: initial; border-style: solid; border-width: 1px 1px 1px 4px; color: white; font-family: &amp;quot;Courier 10 Pitch&amp;quot;, Courier, monospace; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 19px; margin-bottom: 30px; margin-top: 30px; overflow-x: auto; overflow-y: hidden; padding: 10px 10px 10px 18px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;# fallocate --length 2GiB /mnt/swapfile
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
And then set the appropriate permissions on the file; make it readable only by root user as follows.&lt;/div&gt;
&lt;pre style=&quot;background-color: #051e30; border-color: rgb(40, 159, 244); border-image: initial; border-style: solid; border-width: 1px 1px 1px 4px; color: white; font-family: &amp;quot;Courier 10 Pitch&amp;quot;, Courier, monospace; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 19px; margin-bottom: 30px; margin-top: 30px; overflow-x: auto; overflow-y: hidden; padding: 10px 10px 10px 18px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;# chmod 600 /mnt/swapfile
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;2.&lt;/span&gt;&amp;nbsp;Now setup the file for swap space with the&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;mkwap command&lt;/span&gt;.&lt;/div&gt;
&lt;pre style=&quot;background-color: #051e30; border-color: rgb(40, 159, 244); border-image: initial; border-style: solid; border-width: 1px 1px 1px 4px; color: white; font-family: &amp;quot;Courier 10 Pitch&amp;quot;, Courier, monospace; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 19px; margin-bottom: 30px; margin-top: 30px; overflow-x: auto; overflow-y: hidden; padding: 10px 10px 10px 18px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;# mkswap /mnt/swapfile
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;3.&lt;/span&gt;&amp;nbsp;Next, enable the swap file and add it to the system as a swap file.&lt;/div&gt;
&lt;pre style=&quot;background-color: #051e30; border-color: rgb(40, 159, 244); border-image: initial; border-style: solid; border-width: 1px 1px 1px 4px; color: white; font-family: &amp;quot;Courier 10 Pitch&amp;quot;, Courier, monospace; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 19px; margin-bottom: 30px; margin-top: 30px; overflow-x: auto; overflow-y: hidden; padding: 10px 10px 10px 18px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;# swapon /mnt/swapfile
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;4.&lt;/span&gt;&amp;nbsp;Afterwards, enable the swap file to be mounted at boot time. Edit the&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;/etc/fstab&lt;/span&gt;&amp;nbsp;file and add the following line in it.&lt;/div&gt;
&lt;pre style=&quot;background-color: #051e30; border-color: rgb(40, 159, 244); border-image: initial; border-style: solid; border-width: 1px 1px 1px 4px; color: white; font-family: &amp;quot;Courier 10 Pitch&amp;quot;, Courier, monospace; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 19px; margin-bottom: 30px; margin-top: 30px; overflow-x: auto; overflow-y: hidden; padding: 10px 10px 10px 18px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;/mnt/swapfile swap swap defaults 0 0
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
In the line above, each field means:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; list-style: none; margin: 0px 0px 15px 30px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;/mnt/swapfile&lt;/span&gt;&amp;nbsp;– device/file name&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;swap&lt;/span&gt;&amp;nbsp;– defines device mount point&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;swap&lt;/span&gt;&amp;nbsp;– specifies the file-system type&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;defaults&lt;/span&gt;&amp;nbsp;– describes the mount options&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;0&lt;/span&gt;&amp;nbsp;– specifies the option to be used by the dump program&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;0&lt;/span&gt;&amp;nbsp;– specifies the fsck command option&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;6.&lt;/span&gt;&amp;nbsp;To set how often the swap file can be used by the kernel, open the&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;/etc/sysctl.conf&lt;/span&gt;&amp;nbsp;file and add the line below.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
Note that the default value of how frequent swap space can be used is&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;60&lt;/span&gt;&amp;nbsp;(maximum value is&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;100&lt;/span&gt;). The higher the number, the more frequent swap space utilization by the kernel. When the value is set to&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;0&lt;/span&gt;, the swap file will only be used if the operating system has fully utilized memory.&lt;/div&gt;
&lt;pre style=&quot;background-color: #051e30; border-color: rgb(40, 159, 244); border-image: initial; border-style: solid; border-width: 1px 1px 1px 4px; color: white; font-family: &amp;quot;Courier 10 Pitch&amp;quot;, Courier, monospace; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 19px; margin-bottom: 30px; margin-top: 30px; overflow-x: auto; overflow-y: hidden; padding: 10px 10px 10px 18px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;vm.swappiness=10
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;6.&lt;/span&gt;&amp;nbsp;Now verify the swap file was created using the&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;swapon command&lt;/span&gt;.&lt;/div&gt;
&lt;pre style=&quot;background-color: #051e30; border-color: rgb(40, 159, 244); border-image: initial; border-style: solid; border-width: 1px 1px 1px 4px; color: white; font-family: &amp;quot;Courier 10 Pitch&amp;quot;, Courier, monospace; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 19px; margin-bottom: 30px; margin-top: 30px; overflow-x: auto; overflow-y: hidden; padding: 10px 10px 10px 18px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;# swapon  -s
OR
# free
OR
# cat  /proc/swaps&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thinkersbase.blogspot.com/feeds/2406344549027422712/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9179946770178049794/2406344549027422712?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/2406344549027422712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/2406344549027422712'/><link rel='alternate' type='text/html' href='http://thinkersbase.blogspot.com/2018/03/create-linux-swap.html' title='Create a Linux Swap '/><author><name>Vaibhav</name><uri>http://www.blogger.com/profile/00308596503093789965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQH3aIPdO0Q1YGETfYL6ZFNl8wpsz059rMO-euLo4Mll4MzgP1w4HRaoJbSRGOadeHfRMh3W-1ROuo-0gp8_2yHHnk9bCYb9LJNLgdMPFojURdYgqogLy-QaW5upQyhcA/s220/IMG20191222074015+%281%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9179946770178049794.post-4848263035461562713</id><published>2017-08-01T21:12:00.002-07:00</published><updated>2017-08-01T21:16:11.620-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="semaphores"/><title type='text'>Apache daemon doesn&#39;t start : No space left on device </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;I came across this condition various times, if search on the google you will get lots of solutions and most of those will suggest to kill semaphores and restart Apache like below.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;When you get&amp;nbsp;&lt;b&gt;No space left on device &lt;/b&gt;even you have enough space left on server. You can check open semaphores with below command&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;#ipcs -s&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;------ Semaphore Arrays --------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;key &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;semid &amp;nbsp; &amp;nbsp; &amp;nbsp;owner &amp;nbsp; &amp;nbsp; &amp;nbsp;perms &amp;nbsp; &amp;nbsp; &amp;nbsp;nsems &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;0x00000000 655360 &amp;nbsp; &amp;nbsp; apache &amp;nbsp; &amp;nbsp; 600 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;0x00000000 753665 &amp;nbsp; &amp;nbsp; apache &amp;nbsp; &amp;nbsp; 600 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1 &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;If you see list of semaphores which owns by Apache, you need to kill them and restart Apache.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;code class=&quot;bash keyword&quot;&gt;&lt;br /&gt;&lt;/code&gt;
&lt;code class=&quot;bash keyword&quot;&gt;#for&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot;&gt;semid&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;bash keyword&quot;&gt;in&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot;&gt;`ipcs -s |&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;bash functions&quot;&gt;grep&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot;&gt;apache |&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;bash functions&quot;&gt;cut&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot;&gt;-f2 -d&lt;/code&gt;&lt;code class=&quot;bash string&quot;&gt;&quot; &quot;&lt;/code&gt;&lt;code class=&quot;bash plain&quot;&gt;`;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;bash keyword&quot;&gt;do&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;bash plain&quot;&gt;ipcrm -s $semid;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;bash keyword&quot;&gt;done&lt;/code&gt;&lt;br /&gt;
&lt;code class=&quot;bash keyword&quot;&gt;&lt;br /&gt;&lt;/code&gt;
&lt;code class=&quot;bash keyword&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Most of the time it works, but sometime we need to increase semaphore array limits specially when we have large number of Virtual Hosts in Apache. Default semaphore array limit is 128, some time we need to increase it as per our requirements.&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code class=&quot;bash keyword&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;
&lt;code class=&quot;bash keyword&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;You can check current limit with below command.&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code class=&quot;bash keyword&quot;&gt;&lt;br /&gt;&lt;/code&gt;
&lt;code class=&quot;bash keyword&quot;&gt;#ipcs -ls &amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code class=&quot;bash keyword&quot;&gt;&lt;br /&gt;&lt;/code&gt;
&lt;code class=&quot;bash keyword&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;or&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code class=&quot;bash keyword&quot;&gt;&lt;br /&gt;&lt;/code&gt;
&lt;code class=&quot;bash keyword&quot;&gt;#cat /proc/sys/kernel/sem&lt;/code&gt;&lt;br /&gt;
&lt;div class=&quot;container&quot; style=&quot;margin: 0px; outline: none; padding: 0px;&quot; title=&quot;Hint: double-click to select code&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;To increase limits, edit /etc/sysctl.conf and append below line in file.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
kernel.msgmni = 1024&lt;br /&gt;
kernel.sem = 250 256000 32 1024&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Once you done run below command.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;#sysctl -p&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Hope this help.&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thinkersbase.blogspot.com/feeds/4848263035461562713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9179946770178049794/4848263035461562713?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/4848263035461562713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/4848263035461562713'/><link rel='alternate' type='text/html' href='http://thinkersbase.blogspot.com/2017/08/apache-daemon-doesnt-start-no-space.html' title='Apache daemon doesn&#39;t start : No space left on device '/><author><name>Vaibhav</name><uri>http://www.blogger.com/profile/00308596503093789965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQH3aIPdO0Q1YGETfYL6ZFNl8wpsz059rMO-euLo4Mll4MzgP1w4HRaoJbSRGOadeHfRMh3W-1ROuo-0gp8_2yHHnk9bCYb9LJNLgdMPFojURdYgqogLy-QaW5upQyhcA/s220/IMG20191222074015+%281%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9179946770178049794.post-7293976148480952924</id><published>2012-02-01T00:51:00.000-08:00</published><updated>2012-02-01T00:52:44.081-08:00</updated><title type='text'>The application finder can&#39;t be opened (10810)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Before some days I had issue with the finder due to improper&amp;nbsp;shutdown. &amp;nbsp;Then I&#39;ve&amp;nbsp;goggled&amp;nbsp;for the same issue &amp;amp; I find below solution. Not sure but its worked for me.&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif; font-size: 13px;&quot;&gt;I&#39;ve rebuild LaunchServices database in Leopard with &quot;lsregister&quot;. May be &quot;lsregister&quot; have&amp;nbsp;different location in another version. Locate &amp;amp; run below command from Terminal.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif; font-size: 13px;&quot;&gt;You can use &quot;spotlight&quot; to open terminal as finder is not working.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif; font-size: 13px;&quot;&gt;/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.fram ework/Support/lsregister&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #9f2d00; font-family: Monaco, Courier, monospace; font-size: 12px; line-height: 16px; white-space: pre;&quot;&gt;-kill -r -domain local -domain system -domain user&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thinkersbase.blogspot.com/feeds/7293976148480952924/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9179946770178049794/7293976148480952924?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/7293976148480952924'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/7293976148480952924'/><link rel='alternate' type='text/html' href='http://thinkersbase.blogspot.com/2012/02/application-finder-cant-be-opened-10810.html' title='The application finder can&#39;t be opened (10810)'/><author><name>Vaibhav</name><uri>http://www.blogger.com/profile/00308596503093789965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQH3aIPdO0Q1YGETfYL6ZFNl8wpsz059rMO-euLo4Mll4MzgP1w4HRaoJbSRGOadeHfRMh3W-1ROuo-0gp8_2yHHnk9bCYb9LJNLgdMPFojURdYgqogLy-QaW5upQyhcA/s220/IMG20191222074015+%281%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9179946770178049794.post-7992832772488999764</id><published>2012-01-23T10:05:00.001-08:00</published><updated>2012-01-23T10:05:22.560-08:00</updated><title type='text'>Configure LAMP server (Linux + Apache + MySQL + PHP/Perl) on Linux</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h3 class=&quot;post-title entry-title&quot;&gt;&lt;/h3&gt;&lt;div class=&quot;post-header&quot;&gt;  &lt;/div&gt;Configure LAMP server (Linux + Apache + MySQL + PHP/Perl) on Linux&lt;br /&gt;
&lt;br /&gt;
1)  Install Apache&lt;br /&gt;
# yum install httpd httpd­devel&lt;br /&gt;
&lt;br /&gt;
start the  apache service&lt;br /&gt;
# /etc/init.d/httpd start&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2) Install MySQL  Database Server&lt;br /&gt;
&lt;br /&gt;
# yum install mysql mysql­server mysql­devel&lt;br /&gt;
#  /etc/init.d/mysqld start&lt;br /&gt;
# mysql&lt;br /&gt;
&lt;br /&gt;
Changing MySQL Root Password&lt;br /&gt;
&lt;br /&gt;
#  mysql&amp;gt; USE mysql;&lt;br /&gt;
# mysql&amp;gt; UPDATE user SET  Password=PASSWORD(&#39;newpassword&#39;) WHERE user=&#39;root&#39;;&lt;br /&gt;
# mysql&amp;gt; FLUSH  PRIVILEGES;&lt;br /&gt;
&lt;br /&gt;
Once done, check by logging in:&lt;br /&gt;
&lt;br /&gt;
# mysql ­u  root ­p&lt;br /&gt;
Enter Password:&lt;br /&gt;
&lt;br /&gt;
To Create A New MySQL User&lt;br /&gt;
&lt;br /&gt;
#  mysql &amp;gt; create database demo&lt;br /&gt;
# mysql &amp;gt;GRANT ALL PRIVILEGES ON  demo.* TO &#39;guest&#39;@&#39;localhost&#39; IDENTIFIED BY &#39;guest&#39;&lt;br /&gt;
WITH GRANT  OPTION;&lt;br /&gt;
# mysql&amp;gt; UPDATE user SET Password=PASSWORD(&#39;guest&#39;) WHERE  user=&#39;guest&#39;;&lt;br /&gt;
&lt;br /&gt;
3) Install PHP5&lt;br /&gt;
# yum install php php­mysql  php­common php­gd php­mbstring php­mcrypt php­devel php­xml&lt;br /&gt;
&lt;br /&gt;
Test  If PHP Is Working Or Not:&lt;br /&gt;
Create a file named /var/www/html/test.php  with the following phpinfo() function inside php&lt;br /&gt;
quotes.&lt;br /&gt;
//  test.php&lt;br /&gt;
phpinfo();&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
Then point your browser to  http://ip.address/test.php.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4) Install phpMyAdmin&lt;br /&gt;
phpMyAdmin  is a free web based MySQL database Administration Tool&lt;br /&gt;
&lt;br /&gt;
# yum  install phpmyadmin&lt;br /&gt;
Point your browser to:  http://ip.address/phpmyadmin.&lt;br /&gt;
&lt;br /&gt;
5) Install Webmin&lt;br /&gt;
wget&lt;br /&gt;
rpm ­ i  webmin­1.410­1.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
Point your browser to:  http://ip.address:10000&lt;br /&gt;
&lt;br /&gt;
You should see a webmin login. But we  don&#39;t know the login and password yet! To set up the&lt;br /&gt;
webmin password  run the script below...&lt;br /&gt;
&lt;br /&gt;
# /usr/libexec/webmin/changepass.pl  /etc/webmin admin&lt;br /&gt;
&lt;br /&gt;
Log in with the admin username and new webmin  password!&lt;br /&gt;
To uninstall webmin, just run:&lt;br /&gt;
&lt;br /&gt;
#  /etc/webmin/uninstall.sh&lt;br /&gt;
&lt;br /&gt;
6) Final Steps&lt;br /&gt;
We want the Apache and  mysql to be loaded at every boot so we switch them on using chkconfig:&lt;br /&gt;
#  chkconfig httpd on&lt;br /&gt;
# chkconfig mysqld on&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thinkersbase.blogspot.com/feeds/7992832772488999764/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9179946770178049794/7992832772488999764?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/7992832772488999764'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/7992832772488999764'/><link rel='alternate' type='text/html' href='http://thinkersbase.blogspot.com/2012/01/configure-lamp-server-linux-apache.html' title='Configure LAMP server (Linux + Apache + MySQL + PHP/Perl) on Linux'/><author><name>Vaibhav</name><uri>http://www.blogger.com/profile/00308596503093789965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQH3aIPdO0Q1YGETfYL6ZFNl8wpsz059rMO-euLo4Mll4MzgP1w4HRaoJbSRGOadeHfRMh3W-1ROuo-0gp8_2yHHnk9bCYb9LJNLgdMPFojURdYgqogLy-QaW5upQyhcA/s220/IMG20191222074015+%281%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9179946770178049794.post-1444800770520587139</id><published>2012-01-23T10:04:00.000-08:00</published><updated>2012-01-23T10:04:57.311-08:00</updated><title type='text'>Recover MySQL root Password</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;post-header&quot;&gt;&lt;/div&gt;&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-3787731005688757618&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn9K7spJHdXTHpcCztzxopeVtgptyDXGMFv2g04I1lXcwy2TegjfjQtyDbhs0HsraD9ug6s2ZnPrY_PHEj5eO1Eqa7RyoALTNjmwd8qa95xAoM6DjTJ9vgKHl7lKttZ41PuvwggHwicts/s1600/mysqllogo.gif&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5617995840937745778&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn9K7spJHdXTHpcCztzxopeVtgptyDXGMFv2g04I1lXcwy2TegjfjQtyDbhs0HsraD9ug6s2ZnPrY_PHEj5eO1Eqa7RyoALTNjmwd8qa95xAoM6DjTJ9vgKHl7lKttZ41PuvwggHwicts/s320/mysqllogo.gif&quot; style=&quot;cursor: pointer; float: right; height: 52px; margin: 0pt 0pt 10px 10px; width: 100px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
You  can recover MySQL database server password with following five easy  steps.&lt;br /&gt;
&lt;br /&gt;
Step # 1: Stop the MySQL server process.&lt;br /&gt;
&lt;br /&gt;
Step # 2:  Start the MySQL (mysqld) server/daemon process with the  --skip-grant-tables option so that it will not prompt for password.&lt;br /&gt;
&lt;br /&gt;
Step  # 3: Connect to mysql server as the root user.&lt;br /&gt;
&lt;br /&gt;
Step # 4: Setup  new mysql root account password i.e. reset mysql password.&lt;br /&gt;
&lt;br /&gt;
Step #  5: Exit and restart the MySQL server.&lt;br /&gt;
&lt;br /&gt;
Here are commands you need  to type for each step (login as the root user):&lt;br /&gt;
&lt;br /&gt;
Step# 1 : Stop  mysql service&lt;br /&gt;
&lt;br /&gt;
# /etc/init.d/mysql stop&lt;br /&gt;
Output:&lt;br /&gt;
&lt;br /&gt;
Stopping  MySQL database server: mysqld.&lt;br /&gt;
&lt;br /&gt;
Step # 2: Start to MySQL server  w/o password:&lt;br /&gt;
&lt;br /&gt;
# mysqld_safe --skip-grant-tables &amp;amp;&lt;br /&gt;
Output:&lt;br /&gt;
&lt;br /&gt;
[1]  5988&lt;br /&gt;
Starting mysqld daemon with databases from /var/lib/mysql&lt;br /&gt;
mysqld_safe[6025]:  started&lt;br /&gt;
&lt;br /&gt;
Step # 3: Connect to mysql server using mysql client:&lt;br /&gt;
&lt;br /&gt;
#  mysql -u root&lt;br /&gt;
Output:&lt;br /&gt;
&lt;br /&gt;
Welcome to the MySQL monitor.  Commands  end with ; or \g.&lt;br /&gt;
Your MySQL connection id is 1 to server version:  4.1.15-Debian_1-log&lt;br /&gt;
&lt;br /&gt;
Type &#39;help;&#39; or &#39;\h&#39; for help. Type &#39;\c&#39; to  clear the buffer.&lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Step # 4: Setup new MySQL root  user password&lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt; use mysql;&lt;br /&gt;
mysql&amp;gt; update user set  password=PASSWORD(&quot;NEW-ROOT-PASSWORD&quot;) where User=&#39;root&#39;;&lt;br /&gt;
mysql&amp;gt;  flush privileges;&lt;br /&gt;
mysql&amp;gt; quit&lt;br /&gt;
Step # 5: Stop MySQL Server:&lt;br /&gt;
&lt;br /&gt;
#  /etc/init.d/mysql stop&lt;br /&gt;
Output:&lt;br /&gt;
&lt;br /&gt;
Stopping MySQL database  server: mysqld&lt;br /&gt;
STOPPING server from pid file  /var/run/mysqld/mysqld.pid&lt;br /&gt;
mysqld_safe[6186]: ended&lt;br /&gt;
&lt;br /&gt;
[1]+  Done                     mysqld_safe --skip-grant-tables&lt;br /&gt;
&lt;br /&gt;
Step # 6:  Start MySQL server and test it&lt;br /&gt;
&lt;br /&gt;
# /etc/init.d/mysql start&lt;br /&gt;
#  mysql -u root -p  &lt;/div&gt;&lt;span class=&quot;post-author vcard&quot;&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thinkersbase.blogspot.com/feeds/1444800770520587139/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9179946770178049794/1444800770520587139?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/1444800770520587139'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/1444800770520587139'/><link rel='alternate' type='text/html' href='http://thinkersbase.blogspot.com/2012/01/recover-mysql-root-password.html' title='Recover MySQL root Password'/><author><name>Vaibhav</name><uri>http://www.blogger.com/profile/00308596503093789965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQH3aIPdO0Q1YGETfYL6ZFNl8wpsz059rMO-euLo4Mll4MzgP1w4HRaoJbSRGOadeHfRMh3W-1ROuo-0gp8_2yHHnk9bCYb9LJNLgdMPFojURdYgqogLy-QaW5upQyhcA/s220/IMG20191222074015+%281%29.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn9K7spJHdXTHpcCztzxopeVtgptyDXGMFv2g04I1lXcwy2TegjfjQtyDbhs0HsraD9ug6s2ZnPrY_PHEj5eO1Eqa7RyoALTNjmwd8qa95xAoM6DjTJ9vgKHl7lKttZ41PuvwggHwicts/s72-c/mysqllogo.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9179946770178049794.post-1597626004943094704</id><published>2012-01-23T10:02:00.000-08:00</published><updated>2012-01-23T10:02:38.170-08:00</updated><title type='text'>How To Flush Linux / UNIX DNS Cache</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h3 class=&quot;post-title entry-title&quot;&gt;&lt;/h3&gt;&lt;div class=&quot;post-header&quot;&gt;  &lt;/div&gt;Flush nscd dns cache&lt;br /&gt;
&lt;br /&gt;
Nscd caches libc-issued requests to the Name  Service. If retrieving NSS data is fairly expensive, nscd is able to  speed up consecutive access to the same data dramatically and increase  overall system performance. Just restart nscd:&lt;br /&gt;
&lt;br /&gt;
$ sudo  /etc/init.d/nscd restart&lt;br /&gt;
OR&lt;br /&gt;
# service nscd restart &lt;br /&gt;
&lt;br /&gt;
Flush  dnsmasq dns cache&lt;br /&gt;
&lt;br /&gt;
dnsmasq is a lightweight DNS, TFTP and DHCP  server. It is intended to provide coupled DNS and DHCP service to a LAN.  Dnsmasq accepts DNS queries and either answers them from a small,  local, cache or forwards them to a real, recursive, DNS server. This  software is also installed many cheap routers to cache dns queries. Just  restart to flush out dns cache:&lt;br /&gt;
&lt;br /&gt;
$ sudo /etc/init.d/dnsmasq  restart&lt;br /&gt;
&lt;br /&gt;
Flush caching BIND server dns cache&lt;br /&gt;
&lt;br /&gt;
A caching BIND  server obtains information from another server (a Zone Master) in  response to a host query and then saves (caches) the data locally. All  you have to do is restart bind to clear its cache:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#  /etc/init.d/named restart &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thinkersbase.blogspot.com/feeds/1597626004943094704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9179946770178049794/1597626004943094704?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/1597626004943094704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/1597626004943094704'/><link rel='alternate' type='text/html' href='http://thinkersbase.blogspot.com/2012/01/how-to-flush-linux-unix-dns-cache.html' title='How To Flush Linux / UNIX DNS Cache'/><author><name>Vaibhav</name><uri>http://www.blogger.com/profile/00308596503093789965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQH3aIPdO0Q1YGETfYL6ZFNl8wpsz059rMO-euLo4Mll4MzgP1w4HRaoJbSRGOadeHfRMh3W-1ROuo-0gp8_2yHHnk9bCYb9LJNLgdMPFojURdYgqogLy-QaW5upQyhcA/s220/IMG20191222074015+%281%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9179946770178049794.post-4766767529286269126</id><published>2012-01-23T09:59:00.000-08:00</published><updated>2012-01-23T09:59:51.749-08:00</updated><title type='text'>How to check a perticular process uptime in Linuz</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;We can check a uptime for any process using linux command. But you should have to know process ID for this.&lt;br /&gt;
&lt;br /&gt;
We can find process ID using below commands.&lt;br /&gt;
#ps -ef | grep process_name&lt;br /&gt;
&lt;br /&gt;
Below is the command which provides you the uptime for this process.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;#ps -p 12119 -o &quot;%t&quot; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thinkersbase.blogspot.com/feeds/4766767529286269126/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9179946770178049794/4766767529286269126?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/4766767529286269126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/4766767529286269126'/><link rel='alternate' type='text/html' href='http://thinkersbase.blogspot.com/2012/01/how-to-check-perticular-process-uptime.html' title='How to check a perticular process uptime in Linuz'/><author><name>Vaibhav</name><uri>http://www.blogger.com/profile/00308596503093789965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQH3aIPdO0Q1YGETfYL6ZFNl8wpsz059rMO-euLo4Mll4MzgP1w4HRaoJbSRGOadeHfRMh3W-1ROuo-0gp8_2yHHnk9bCYb9LJNLgdMPFojURdYgqogLy-QaW5upQyhcA/s220/IMG20191222074015+%281%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9179946770178049794.post-5776462598924223859</id><published>2012-01-23T09:56:00.000-08:00</published><updated>2012-01-23T09:56:18.376-08:00</updated><title type='text'>Alter Multiple tables using bash script</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Below is the shell script to alter multiple tables.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
DATABASENAME=&quot;DBNAME&quot;&lt;br /&gt;
for t in `echo &quot;show tables&quot; | mysql --batch --skip-column-names $DATABASENAME`;&lt;br /&gt;
do mysql $DATABASENAME -e &quot;ALTER TABLE $t ENGINE=NDBCLUSTER&quot;;&lt;br /&gt;
done &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thinkersbase.blogspot.com/feeds/5776462598924223859/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9179946770178049794/5776462598924223859?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/5776462598924223859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/5776462598924223859'/><link rel='alternate' type='text/html' href='http://thinkersbase.blogspot.com/2012/01/alter-multiple-tables-using-bash-script.html' title='Alter Multiple tables using bash script'/><author><name>Vaibhav</name><uri>http://www.blogger.com/profile/00308596503093789965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQH3aIPdO0Q1YGETfYL6ZFNl8wpsz059rMO-euLo4Mll4MzgP1w4HRaoJbSRGOadeHfRMh3W-1ROuo-0gp8_2yHHnk9bCYb9LJNLgdMPFojURdYgqogLy-QaW5upQyhcA/s220/IMG20191222074015+%281%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9179946770178049794.post-1333688836167140317</id><published>2012-01-23T09:50:00.000-08:00</published><updated>2012-01-23T09:50:20.844-08:00</updated><title type='text'>How to repaire all MySQL tables in one command</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;You can use below command to optimize &amp;amp; repair all tables.&lt;br /&gt;
&lt;br /&gt;
#mysqlcheck -u root -p --auto-repair --check --optimize --all-databases &lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thinkersbase.blogspot.com/feeds/1333688836167140317/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9179946770178049794/1333688836167140317?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/1333688836167140317'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/1333688836167140317'/><link rel='alternate' type='text/html' href='http://thinkersbase.blogspot.com/2012/01/how-to-repaire-all-mysql-tables-in-one.html' title='How to repaire all MySQL tables in one command'/><author><name>Vaibhav</name><uri>http://www.blogger.com/profile/00308596503093789965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQH3aIPdO0Q1YGETfYL6ZFNl8wpsz059rMO-euLo4Mll4MzgP1w4HRaoJbSRGOadeHfRMh3W-1ROuo-0gp8_2yHHnk9bCYb9LJNLgdMPFojURdYgqogLy-QaW5upQyhcA/s220/IMG20191222074015+%281%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9179946770178049794.post-6227182588731724451</id><published>2012-01-23T09:48:00.000-08:00</published><updated>2012-01-23T09:48:50.230-08:00</updated><title type='text'>Count all records from your MySQL databse</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;If you want to count all records from your database, follow below instructions.&lt;br /&gt;
&lt;br /&gt;
1) Login To your database.&lt;br /&gt;
&lt;br /&gt;
2) Execute below query &lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;gt; SELECT table_name, TABLE_ROWS FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = &#39;DATABASE_NAME&#39; order by TABLE_ROWS asc;&lt;/div&gt;&lt;br /&gt;
You have to change only database_name from above query.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thinkersbase.blogspot.com/feeds/6227182588731724451/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9179946770178049794/6227182588731724451?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/6227182588731724451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/6227182588731724451'/><link rel='alternate' type='text/html' href='http://thinkersbase.blogspot.com/2012/01/count-all-records-from-your-mysql.html' title='Count all records from your MySQL databse'/><author><name>Vaibhav</name><uri>http://www.blogger.com/profile/00308596503093789965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQH3aIPdO0Q1YGETfYL6ZFNl8wpsz059rMO-euLo4Mll4MzgP1w4HRaoJbSRGOadeHfRMh3W-1ROuo-0gp8_2yHHnk9bCYb9LJNLgdMPFojURdYgqogLy-QaW5upQyhcA/s220/IMG20191222074015+%281%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9179946770178049794.post-6914694338729402427</id><published>2012-01-23T09:43:00.001-08:00</published><updated>2012-01-23T09:43:50.973-08:00</updated><title type='text'>MySQL Change root Password</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h3 class=&quot;post-title entry-title&quot;&gt;&lt;br /&gt;
&lt;/h3&gt;&lt;div class=&quot;post-header&quot;&gt;  &lt;/div&gt;How do I change MySQL root password under Linux, FreeBSD, OpenBSD and  UNIX like operating system over ssh / telnet session?&lt;br /&gt;
&lt;br /&gt;
Setting up  MySQL password is one of the essential tasks. By default root user is  MySQL admin account user. Please note that the Linux / UNIX root account  for your operating system and MySQL root are different. They are  separate and nothing to do with each other. Sometime your may remove  mysql root account and setup admin as mysql super user for security  purpose.&lt;br /&gt;
mysqladmin command to change root password&lt;br /&gt;
&lt;br /&gt;
If you  have never set a root password for MySQL server, the server does not  require a password at all for connecting as root. To setup root password  for first time, use mysqladmin command at shell prompt as follows:&lt;br /&gt;
&lt;br /&gt;
$  mysqladmin -u root password NEWPASSWORD&lt;br /&gt;
&lt;br /&gt;
However, if you want to  change (or update) a root password, then you need to use the following  command:&lt;br /&gt;
&lt;br /&gt;
$ mysqladmin -u root -p&#39;oldpassword&#39; password newpass&lt;br /&gt;
&lt;br /&gt;
For  example, If the old password is abc, you can set the new password to  123456, enter:&lt;br /&gt;
&lt;br /&gt;
$ mysqladmin -u root -p&#39;abc&#39; password &#39;123456&#39;&lt;br /&gt;
&lt;br /&gt;
Change  MySQL password for other users&lt;br /&gt;
&lt;br /&gt;
To change a normal user password  you need to type (let us assume you would like to change password for  user vivek) the following command:&lt;br /&gt;
&lt;br /&gt;
$ mysqladmin -u vivek -p  oldpassword password newpass&lt;br /&gt;
&lt;br /&gt;
Changing MySQL root user password  using MySQL sql command&lt;br /&gt;
&lt;br /&gt;
This is another method. MySQL stores  username and passwords in user table inside MySQL database. You can  directly update password using the following method to update or change  password for user vivek:&lt;br /&gt;
&lt;br /&gt;
1) Login to mysql server, type the  following command at shell prompt:&lt;br /&gt;
&lt;br /&gt;
$ mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
2)  Use mysql database (type command at mysql&amp;gt; prompt):&lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt;  use mysql;&lt;br /&gt;
&lt;br /&gt;
3) Change password for user vivek, enter:&lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt;  update user set password=PASSWORD(&quot;NEWPASSWORD&quot;) where User=&#39;vivek&#39;;&lt;br /&gt;
&lt;br /&gt;
4)  Finally, reload the privileges:&lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt; flush privileges;&lt;br /&gt;
mysql&amp;gt;  quit&lt;br /&gt;
&lt;br /&gt;
The last method can be used with PHP, Python or Perl  scripting mysql API. &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thinkersbase.blogspot.com/feeds/6914694338729402427/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9179946770178049794/6914694338729402427?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/6914694338729402427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/6914694338729402427'/><link rel='alternate' type='text/html' href='http://thinkersbase.blogspot.com/2012/01/mysql-change-root-password.html' title='MySQL Change root Password'/><author><name>Vaibhav</name><uri>http://www.blogger.com/profile/00308596503093789965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQH3aIPdO0Q1YGETfYL6ZFNl8wpsz059rMO-euLo4Mll4MzgP1w4HRaoJbSRGOadeHfRMh3W-1ROuo-0gp8_2yHHnk9bCYb9LJNLgdMPFojURdYgqogLy-QaW5upQyhcA/s220/IMG20191222074015+%281%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9179946770178049794.post-4656892466000484519</id><published>2012-01-23T09:42:00.001-08:00</published><updated>2012-01-23T09:42:47.764-08:00</updated><title type='text'>Know your Motherboard in linux</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h3 class=&quot;post-title entry-title&quot;&gt;check motherboard information in Linux &lt;/h3&gt;&lt;div class=&quot;post-header&quot;&gt;  &lt;/div&gt;To check motherboard information in Linux, you can use either lspci or  dmidecode.&lt;br /&gt;
&lt;br /&gt;
# lspci –vv&lt;br /&gt;
# dmidecode &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thinkersbase.blogspot.com/feeds/4656892466000484519/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9179946770178049794/4656892466000484519?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/4656892466000484519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/4656892466000484519'/><link rel='alternate' type='text/html' href='http://thinkersbase.blogspot.com/2012/01/know-your-motherboard-in-linux.html' title='Know your Motherboard in linux'/><author><name>Vaibhav</name><uri>http://www.blogger.com/profile/00308596503093789965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQH3aIPdO0Q1YGETfYL6ZFNl8wpsz059rMO-euLo4Mll4MzgP1w4HRaoJbSRGOadeHfRMh3W-1ROuo-0gp8_2yHHnk9bCYb9LJNLgdMPFojURdYgqogLy-QaW5upQyhcA/s220/IMG20191222074015+%281%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9179946770178049794.post-936844110531795740</id><published>2011-12-16T03:03:00.000-08:00</published><updated>2020-01-22T21:38:02.979-08:00</updated><title type='text'>Force non-www to www and http to https using redirect rules</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
We can redirect non-www to www is quiet easy task with the mod_redirect. You can use below Redirect Rules for the same.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;highlight&quot; style=&quot;background-color: whitesmoke; border-bottom: 1px solid rgb(221, 221, 221); border-image: initial; border-left: none; border-radius: 2px; border-right: none; border-top: none; box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; line-height: 1.42857; margin-bottom: 12.5px; overflow-wrap: break-word; overflow: auto; padding: 12px; word-break: break-all;&quot;&gt;&lt;code style=&quot;background-color: transparent; border-radius: 0px; border: 0px; box-sizing: border-box; color: inherit; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; padding: 0px; white-space: pre-wrap;&quot;&gt;RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
RewriteRule ^ &lt;a class=&quot;vglnk&quot; href=&quot;https://www.%251%25%7Brequest_uri/&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #0066aa; text-decoration-line: none; transition: all 0.2s ease 0s;&quot;&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;https&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;://&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;www&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;.%&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;%{&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;REQUEST&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;_&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;URI&lt;/span&gt;&lt;/a&gt;} [L,NE,R=301]&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thinkersbase.blogspot.com/feeds/936844110531795740/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9179946770178049794/936844110531795740?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/936844110531795740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/936844110531795740'/><link rel='alternate' type='text/html' href='http://thinkersbase.blogspot.com/2011/12/redirect-non-www-to-www-using-redirect.html' title='Force non-www to www and http to https using redirect rules'/><author><name>Vaibhav</name><uri>http://www.blogger.com/profile/00308596503093789965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQH3aIPdO0Q1YGETfYL6ZFNl8wpsz059rMO-euLo4Mll4MzgP1w4HRaoJbSRGOadeHfRMh3W-1ROuo-0gp8_2yHHnk9bCYb9LJNLgdMPFojURdYgqogLy-QaW5upQyhcA/s220/IMG20191222074015+%281%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9179946770178049794.post-4660094700025011690</id><published>2011-09-21T03:03:00.000-07:00</published><updated>2011-09-21T03:03:19.304-07:00</updated><title type='text'>SSL certificate</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
First we need to create a private key. Note that this process &lt;em&gt;will&lt;/em&gt;
 require a passphrase for the key - don&#39;t worry, we&#39;ll remove it later 
to make things easier:&lt;br /&gt;


&lt;pre&gt;&lt;code&gt;openssl genrsa -des3 -out myssl.key 1024&lt;/code&gt;&lt;/pre&gt;
As said, this will require you to enter a passphrase.&lt;br /&gt;


&lt;h3&gt;
CSR&lt;/h3&gt;
Now we need to create a CSR (Certificate Signing Request):&lt;br /&gt;


&lt;pre&gt;&lt;code&gt;openssl req -new -key myssl.key -out myssl.csr&lt;/code&gt;&lt;/pre&gt;
The process will ask for various details for the certificate. I 
entered the following for each question:&lt;br /&gt;


&lt;strong&gt;Country Name&lt;/strong&gt;: GB&lt;br /&gt;


&lt;strong&gt;State or Province Name&lt;/strong&gt;: Nottinghamshire&lt;br /&gt;


&lt;strong&gt;Locality Name&lt;/strong&gt;: Nottingham&lt;br /&gt;


&lt;strong&gt;Organization Name&lt;/strong&gt;: PickledOnion Ltd&lt;br /&gt;


&lt;strong&gt;Organizational Unit Name&lt;/strong&gt;: Web Development&lt;br /&gt;


&lt;strong&gt;Common Name&lt;/strong&gt;: admin.domain.com&lt;br /&gt;


&lt;strong&gt;Email Address&lt;/strong&gt;: webadmin@domain.com&lt;br /&gt;


For the &#39;extra&#39; attributes I simply pressed &#39;return&#39; (i.e. I left 
them blank).&lt;br /&gt;


&lt;strong&gt;Note&lt;/strong&gt;: For the Common Name I entered the domain name I
 want to associate with the certificate. In this case I want it for my 
administration area so I entered &#39;admin.domain.com&#39;.&lt;br /&gt;


You are not restricted to using the certificate with just that domain
 but it will produce extra warnings if the Common Name does not match 
the URI.&lt;br /&gt;


&lt;h3&gt;
Remove Passphrase&lt;/h3&gt;
When we generated the myssl.key file, we had to enter a passphrase. 
One disadvantage of this is the need to enter the passphrase if the 
Slice is rebooted.&lt;br /&gt;


This is especially problematic if an unexpected reboot occurs as the 
boot sequence will simply stop until you enter the console via the 
SliceManager and enter it.&lt;br /&gt;


So unless you see a particular need to keep the passphrase, let&#39;s 
remove it:&lt;br /&gt;


&lt;pre&gt;&lt;code&gt;cp myssl.key myssl.key.org
openssl rsa -in myssl.key.org -out myssl.key&lt;/code&gt;&lt;/pre&gt;
You will be asked for the passphrase one last time to confirm it is a
 genuine request.&lt;br /&gt;


Now we have three files in the temp folder:&lt;br /&gt;


&lt;pre&gt;&lt;code&gt;ls
...
myssl.csr  myssl.key  myssl.key.org&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;
CRT&lt;/h3&gt;
The last file we need generate is the actual ssl certificate:&lt;br /&gt;


&lt;pre&gt;&lt;code&gt;openssl x509 -req -days 365 -in myssl.csr -signkey myssl.key -out myssl.crt&lt;/code&gt;&lt;/pre&gt;
Good. Now we have the final piece in place as that generated our 
myssl.crt file.&lt;br /&gt;


&lt;h3&gt;
Everything in its place&lt;/h3&gt;
Now we need to copy the relevant files to the /etc/ssl/ directory.&lt;br /&gt;


First file to move is the certificate itself:&lt;br /&gt;


&lt;pre&gt;&lt;code&gt;sudo cp myssl.crt /etc/ssl/certs/&lt;/code&gt;&lt;/pre&gt;
and secondly, copy the key:&lt;br /&gt;


&lt;pre&gt;&lt;code&gt;sudo cp myssl.key /etc/ssl/private/&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;
Clean up&lt;/h3&gt;
You are now free to delete the temp file and the four files we 
generated or, if you prefer, keep them around for a while until you know
 the ssl certificate works correctly.&lt;br /&gt;


&lt;h3&gt;
Summary&lt;/h3&gt;
Nginx requires more than the standard pem file that Apache is happy 
with. As such, we need to create a ssl key and a certificate file.&lt;br /&gt;


Once the files have been generated and moved to the /etc/ssl/ 
directory, we are now ready to configure Nginx to serve our domain from 
an HTTPS connection.&lt;br /&gt;


&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thinkersbase.blogspot.com/feeds/4660094700025011690/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9179946770178049794/4660094700025011690?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/4660094700025011690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/4660094700025011690'/><link rel='alternate' type='text/html' href='http://thinkersbase.blogspot.com/2011/09/ssl-certificate.html' title='SSL certificate'/><author><name>Vaibhav</name><uri>http://www.blogger.com/profile/00308596503093789965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQH3aIPdO0Q1YGETfYL6ZFNl8wpsz059rMO-euLo4Mll4MzgP1w4HRaoJbSRGOadeHfRMh3W-1ROuo-0gp8_2yHHnk9bCYb9LJNLgdMPFojURdYgqogLy-QaW5upQyhcA/s220/IMG20191222074015+%281%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9179946770178049794.post-6688994392223856</id><published>2011-09-21T01:47:00.000-07:00</published><updated>2011-09-21T01:47:48.970-07:00</updated><title type='text'>How to add Iptables in startup in ubuntu</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In Ubuntu There is no any service to start iptables like Redhat, Centos &amp;amp; Fedora. We can add iptables in startup using below instructions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;First open the required ports. See &lt;a href=&quot;http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch14_:_Linux_Firewalls_Using_iptables&quot;&gt;iptables&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;      # sudo /sbin/iptables -A INPUT -p tcp --dport ssh -j ACCEPT &lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;font-family: inherit; text-align: left;&quot;&gt;
&lt;li&gt;&lt;pre&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Let&#39;s Check your Iptables Rule..&lt;/span&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;      # sudo /sbin/iptables &lt;/pre&gt;
&lt;h2 id=&quot;Saving_iptables&quot;&gt;
&lt;/h2&gt;
&lt;h2 id=&quot;Configuration_on_startup&quot;&gt;
&lt;/h2&gt;
&lt;h2 id=&quot;Saving_iptables&quot;&gt;
Saving iptables&lt;/h2&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;
&lt;span class=&quot;anchor&quot; id=&quot;line-162&quot;&gt;&lt;/span&gt;If you were
 to reboot your machine right now, your iptables configuration would 
disappear. Rather than type this each time you reboot, however, you can 
save the configuration, and have it start up automatically. To save the 
configuration, you can use &lt;tt&gt;iptables-save&lt;/tt&gt; and &lt;tt&gt;iptables-restore&lt;/tt&gt;.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Save your firewall rules to a file &lt;span class=&quot;anchor&quot; id=&quot;line-173&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-174&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-175&quot;&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-1-13&quot;&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;      #sudo sh -c &quot;/etc/iptables-save &amp;gt; /etc/iptables.rules&quot;&lt;/pre&gt;
&lt;span class=&quot;anchor&quot; id=&quot;line-176&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-177&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-178&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h2 id=&quot;Configuration_on_startup&quot;&gt;
Configuration on startup using /etc/network/interfaces &lt;/h2&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&amp;nbsp;Modify the &lt;tt class=&quot;backtick&quot;&gt;/etc/network/interfaces&lt;/tt&gt;
 configuration file to apply the rules automatically. You will need to 
know the interface that you are using in order to apply the rules - if 
you do not know, you are probably using the interface eth0, although you
 should check with the following command first to see if there are any 
wireless cards: &lt;span class=&quot;anchor&quot; id=&quot;line-184&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-185&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-186&quot;&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-1-14&quot;&gt;&lt;/span&gt;      #iwconfig&lt;/pre&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;Edit &lt;span class=&quot;backtick&quot;&gt;/etc/network/interfaces with your favourite editor.&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;tt class=&quot;backtick&quot;&gt;&amp;nbsp;&lt;/tt&gt;&lt;/pre&gt;
&lt;div class=&quot;line874&quot;&gt;
When in the file, search for the interface you found,
 and at the end of the network related lines for that interface, add the
 line: &lt;span class=&quot;anchor&quot; id=&quot;line-224&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-225&quot;&gt;&lt;/span&gt;&lt;span class=&quot;anchor&quot; id=&quot;line-226&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;anchor&quot; id=&quot;line-1-20&quot;&gt;&lt;/span&gt; &lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;pre-up iptables-restore &amp;lt; /etc/iptables.rules&lt;/pre&gt;
&lt;pre&gt;
&lt;/pre&gt;
&lt;pre&gt;
&lt;/pre&gt;
&lt;pre&gt;
&lt;/pre&gt;
&lt;ul style=&quot;color: #274e13;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;You can also prepare a set of down rules, save them into second file &lt;span class=&quot;backtick&quot;&gt;/etc/iptables.downrules&lt;/span&gt; and apply it&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; automatically using the above steps:&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;color: #274e13; font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;color: #274e13; font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;          post-down iptables-restore &amp;lt; /etc/iptables.downrules &lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;pre&gt; &lt;/pre&gt;
&lt;/div&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;span class=&quot;anchor&quot; id=&quot;line-187&quot;&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thinkersbase.blogspot.com/feeds/6688994392223856/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9179946770178049794/6688994392223856?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/6688994392223856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/6688994392223856'/><link rel='alternate' type='text/html' href='http://thinkersbase.blogspot.com/2011/09/how-to-add-iptables-in-startup-in.html' title='How to add Iptables in startup in ubuntu'/><author><name>Vaibhav</name><uri>http://www.blogger.com/profile/00308596503093789965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQH3aIPdO0Q1YGETfYL6ZFNl8wpsz059rMO-euLo4Mll4MzgP1w4HRaoJbSRGOadeHfRMh3W-1ROuo-0gp8_2yHHnk9bCYb9LJNLgdMPFojURdYgqogLy-QaW5upQyhcA/s220/IMG20191222074015+%281%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9179946770178049794.post-5585518492960563652</id><published>2011-06-03T15:07:00.000-07:00</published><updated>2020-01-22T21:22:37.932-08:00</updated><title type='text'>Magento - Admin login problem after fresh installation</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Many times it happens, that after fresh installation of magento we are unable to login with admin. Try the solution for the same.&lt;br /&gt;
&lt;br /&gt;
1)  Edit varien.php which located in /[Magento_Dir]/app/code/core/Mage/Core/Model/Session/Abstract/ &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2) Find out the below pattern &amp;amp; comment last three lines.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt;session_set_cookie_params(&lt;/i&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt; $this-&amp;gt;getCookie()-&amp;gt;getLifetime(),&lt;/i&gt;&lt;i&gt; $this-&amp;gt;getCookie()-&amp;gt;getPath()//,&lt;/i&gt;&lt;i&gt; //$this-&amp;gt;getCookie()-&amp;gt;getDomain(),&lt;/i&gt;&lt;i&gt; //$this-&amp;gt;getCookie()-&amp;gt;isSecure(),&lt;/i&gt;&lt;i&gt; //$this-&amp;gt;getCookie()-&amp;gt;getHttponly()&lt;/i&gt;&lt;/blockquote&gt;
&lt;i&gt; );&lt;/i&gt;&lt;/blockquote&gt;
&lt;/div&gt;
&amp;nbsp;3) Now try to login with admin user&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thinkersbase.blogspot.com/feeds/5585518492960563652/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9179946770178049794/5585518492960563652?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/5585518492960563652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/5585518492960563652'/><link rel='alternate' type='text/html' href='http://thinkersbase.blogspot.com/2011/06/magento-admin-login-problem-after-fresh.html' title='Magento - Admin login problem after fresh installation'/><author><name>Vaibhav</name><uri>http://www.blogger.com/profile/00308596503093789965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQH3aIPdO0Q1YGETfYL6ZFNl8wpsz059rMO-euLo4Mll4MzgP1w4HRaoJbSRGOadeHfRMh3W-1ROuo-0gp8_2yHHnk9bCYb9LJNLgdMPFojURdYgqogLy-QaW5upQyhcA/s220/IMG20191222074015+%281%29.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9179946770178049794.post-7862639953676180677</id><published>2011-06-03T12:29:00.000-07:00</published><updated>2011-06-04T03:45:40.185-07:00</updated><title type='text'>Step-by-step configuration of MySQL Replication</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Environment:&lt;br /&gt;
&lt;br /&gt;
Master : 192.168.0.2&lt;br /&gt;
Slave : 192.168.0.3 &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;MASTER CONFIGURATION&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
1) Login to MySQL with root user &amp;amp; Create a user for replication.&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
GRANT REPLICATION SLAVE ON *.* TO &#39;slave_user&#39;@&#39;%&#39; IDENTIFIED BY &#39;your_password&#39;;&lt;br /&gt;
FLUSH PRIVILEGES;&lt;br /&gt;
&lt;br /&gt;
2) Edit your my.cnf on master &amp;amp; add below lines in [mysqld] section&lt;br /&gt;
&lt;br /&gt;
log-bin = /home/mysql/logs/mysql-bin.log&lt;br /&gt;
binlog-do-db=my_database&lt;br /&gt;
server-id=1&lt;br /&gt;
&lt;br /&gt;
3) Restart master server&lt;br /&gt;
&lt;br /&gt;
/etc/rc.d/init.d/mysqld restart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Configuring the Slave&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
1) Edit my.cnf&lt;br /&gt;
&lt;br /&gt;
server-id=2&lt;br /&gt;
master-host=128.0.0.1&lt;br /&gt;
master-connect-retry=60&lt;br /&gt;
master-user=slave_user&lt;br /&gt;
master-password=slave_password&lt;br /&gt;
replicate-do-db=my_database&lt;br /&gt;
&lt;br /&gt;
2) Restart MySQL Service&lt;br /&gt;
&lt;br /&gt;
/etc/init.d/mysqld restart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3) Again login to mysql On the Master...&lt;br /&gt;
&lt;br /&gt;
mysql &amp;gt; FLUSH TABLES WITH READ LOCK;&lt;br /&gt;
&lt;br /&gt;
mysql &amp;gt; SHOW MASTER STATUS;&lt;br /&gt;
&lt;br /&gt;
+---------------------+----------+-------------------------------+------------------+ &lt;br /&gt;
&amp;nbsp;| File&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | Position | Binlog_Do_DB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |  Binlog_Ignore_DB |&lt;br /&gt;
+---------------------+----------+-------------------------------+-----------------+&lt;br /&gt;
&amp;nbsp;| mysql-bin.000001&amp;nbsp;&amp;nbsp; | 98&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; | my_database&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
+---------------------+----------+-------------------------------+------------------+&lt;br /&gt;
&lt;br /&gt;
You need this info while starting slave So copy it somewhere.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5) Take a DBdump from master &amp;amp; copy it to slave&lt;br /&gt;
&lt;br /&gt;
6) login to MySQL On the Slave&lt;br /&gt;
&lt;br /&gt;
mysql &amp;gt; stop slave;&lt;br /&gt;
mysql &amp;gt; CREATE DATABASE `my_database`;&lt;br /&gt;
&lt;br /&gt;
7) Import Ur master dump&lt;br /&gt;
&lt;br /&gt;
8) Login to MySQL on slave.&lt;br /&gt;
&lt;br /&gt;
mysql &amp;gt; CHANGE MASTER TO MASTER_HOST=&#39;192.168.0.2&#39;, MASTER_USER=&#39;slave_user&#39;, MASTER_PASSWORD=&#39;slave_password&#39;, MASTER_LOG_FILE=&#39;mysql-bin.000001&#39;, MASTER_LOG_POS=98;&lt;br /&gt;
&lt;br /&gt;
slave start;&lt;br /&gt;
&lt;br /&gt;
9) Back on the Master, log in to mysql &amp;amp; unlock the tables.&lt;br /&gt;
mysql &amp;gt; unlock tables;&lt;br /&gt;
&lt;br /&gt;
10) Here we completed mysql replication configuration Now change any field in &quot;my_database&quot; on Master server, It will reflect on slave server.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thinkersbase.blogspot.com/feeds/7862639953676180677/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9179946770178049794/7862639953676180677?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/7862639953676180677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9179946770178049794/posts/default/7862639953676180677'/><link rel='alternate' type='text/html' href='http://thinkersbase.blogspot.com/2011/06/step-by-step-configuration-ofmysql.html' title='Step-by-step configuration of MySQL Replication'/><author><name>Vaibhav</name><uri>http://www.blogger.com/profile/00308596503093789965</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQH3aIPdO0Q1YGETfYL6ZFNl8wpsz059rMO-euLo4Mll4MzgP1w4HRaoJbSRGOadeHfRMh3W-1ROuo-0gp8_2yHHnk9bCYb9LJNLgdMPFojURdYgqogLy-QaW5upQyhcA/s220/IMG20191222074015+%281%29.jpg'/></author><thr:total>0</thr:total></entry></feed>