wordpress blog with jsp - wordpress

I have to set up wordpress blog. my problem is, i am using spring/jsp for website development, so the url and port number are different for wordpress(php) blog and the website. I have to integrate the blog in the site which currently i am doing using iframe.
But with iframe, the problem is i can't calculate the height of iframe as it is on a different url, so i have to make footer fixed and only the blog part will be scrollable.
Is there any way or any alternative to integrate wordpress blog?

WordPress has an rpc-api. You can use it to query for the articles, but then you have to render them by your own.

Related

Embedding a live chart from an external page into Wordpress post

My wordpress site has a blog on the homepage, e.g. www.myblog.com.
I made a web app in Flask (a Python web development framework) which has the url www.myblog.com:8000/chart1
I want to show this within a post on my homepage/blog. If this is possible how can I do this?
An iframe should work. WordPress strips iframes out of the post editor, but you could either hardcode the <iframe src="www.myblog.com:8000/chart1"></iframe> HTML into a specific post type or something. I think a simpler option would be just to use a plugin like Iframe Shortcode:
Iframe Shortcode
Install/activate that and it'll give you an option to insert a shortcode into your post content.

Is http://www.shoutmeloud.com/videos a separate website?

I just wondering whether http://www.shoutmeloud.com/videos is a subdomain under subdirectory?
I am just curious to know how we can do that.
I have a website called http://quantumbuddy.com/ and I want to share spirtual video the same way here shoutmeloud did.
Can anyone let me know how they did?
The website Shoutmeloud is a very popular website of a very popular Indian blogger Harsh Agarwal. The website is WordPress built as told by him many times. Regarding your question - the http://www.shoutmeloud.com/videos is not a directory because if it had been a WordPress directly there would be a login url - http://www.shoutmeloud.com/videos/wp-login.php, but it is not there.
Seeing the design of http://www.shoutmeloud.com/videos i think it is a post category (videos) which shows the post contained in it(here videos).
In wordpress this comes by default, all you have to do is to create a post category and add post in it. Then in these post add youtube videos embed code.
You can easily achieve that by going to your wordpress dashboard then add a new page and name it like videos then insert some video files there whether it's a link or from your uploaded videos then save it.
To check the page, Add it to your main menu for example then save it.
The url would be like http://quantumbuddy.com/videos.
so basically the videos is the name of the page.
I checked your site and it only contain one link in the menu. Add a page and add it to your menu bar and it would display next to the Blog link.
The website you are referring to is using Genesis Theme. You can find it here
.

blog cover image thats not in the blog post

I've been asked to integrate a blog into an existing website.
The blog content will be hosted with an external blog provider (im thinking wordpress and blogger) and I would then import the posts onto the clients site via an ATOM feed as this is the simplest way I can see of doing all this.
The issue I'm facing is that when the blog list is displayed on the clients site they want to use a grid based layout with a cover image. Another stipulation of the design is that the cover image should also not be part of the actual blog post content.
Ideally it would be great if the blogging provider (wordpress/blogger) supported uploading additional metadata and images that do not go into the blog post's HTML content.
I cant find any way of doing this currently and am wondering if I have any options other than rolling my own mini blogging platform for the client or installing wordpress locally and setting that up.
Any ideas?
WordPress will let you upload a custom header image. See: http://codex.wordpress.org/Custom_Headers - this will be useful if you want the same header image on every page. If you want a different header image 'per post' then you'll need a plugin to do that. There are some good plugins that do that in the WP plugin repo: http://wordpress.org/plugins/

WordPress - Preview of latest wordpress blog post in iframe

I have a website and a blog. I want to insert an iframe into the website, displaying the latest post from the blog.
So I need just the post content inside the iframe, without wordpress headers and sidebars.
Whats the best approach to achieve this?
Thanks for help.
If the site and the blog are on the same domain, you may be best off querying the latest post using the Wordpress API itself, making it unnecessary to fiddle with an iframe.
How to do that is described in Integrating WordPress with Your Website on the WordPress Codex.
If you need to do this using an iframe, I guess it's easiest to set up a new theme that doesn't display anything but the post itself. That would be some work though.
I recently put together a video tutorial of how I did this: http://www.youtube.com/watch?v=7GuocgQlCmw
I didn't get rid of the WordPress sidebar, but the tutorial shows how I used Firebug to get rid of parts of the header and the same technique should work for the sidebar. There are links in the youtube description to all the reference material I used including a link to a blog entry I wrote describing the process.
This doesn't really answer the question but why don't you use Wordpress for all of your website if you use templates you can make it look like a website and also have a blog. Have a look at this site i made using just Wordpress http://www.smkrc.co.uk. By doing this you would have access to the posts and would not need to use iframes.

How To Create iFrames or Frames like StumbleUpon and Linkedin in Wordpress

I am developing my site. I am using Thestyle Wordpress theme in it. My every post is redirected to some other websites. And as they are redirecting I am loosing visitors to other site, I want to keep visitors on my site by in such a way that the external url opens in my site url.
Eg: stumbleupon - http://www.stumbleupon.com/su/1J1krv...com/gag/207886
Linkedin: http://www.linkedin.com/news?actionB...1eZ7X_46a_NkY1
I want to add same top heading bar like this sites do.
How can I do this?
I just searched plenty of sites which was telling how to use lightbox to open other pages.. but its not fully workable. I am a newbie in coding. Is there any other way to open such kind of things?
Try using a plug-in like gallery,light box, that will open URLs (as well as images) into a shadow box within your site

Resources