dxjones
Joined 17 years ago
Joined 17 years ago
The copyright holders for academic journals have a huge financial incentive to crush ScienceLeaks. The law is on their side, right? ... and why would Google Blogger defend ScienceLeaks? They prefer people to use Google Scholar instead.
This common example uses "select" (correctly) with a list of items on a menu.
Self-publishers might want to consider Lulu.com, with low per-page costs, and apparently no setup fee.
I found that I can insert my own PHP code to scrutinize the REQUEST_URI, QUERY_STRING, etc, so I can pull out the parameters needed for my app, and then edit the REQUEST_URI so WordPress is none the wiser, ... and simply displays the proper page. ... then my app code gets invoked, ... plus it has access to my parameters. Solution found.
In my case, I created a paged called "app". What is nice about this is I can use WordPress as a content management system, I can change Themes easily, etc. ... but embedded inside the page I can put vanilla PHP code.
1. WordPress wants the "Page" name to come last, so I followed your suggestion, but with "app" moved to the end. Same idea as your rule, but rearranged. See .htaccess appended below.
2. The REQUEST_URI is "alpha/beta/app", and the QUERY_STRING "p1=alpha&p2=beta", ...
but the WordPress index.php comes into play and seems to do a REDIRECT (so my app never gets a chance to run)
so that REQUEST_URI becomes "app" and QUERY_STRING is empty. My app code runs, but now it is too late; the parameters are gone.
Any further suggestions?
# .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/([^/]+)/app$ /app/?p1=$1&p2=$2 [QSA,L]
</IfModule>
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Why not just pitch to Dave McClure's 500Startups? You can get started with $10k for 1% equity, valuing your startup at $1M. More funding is possible, plus space, mentors, ...
http://500startups.com/