How can I embed Drupal content in a widget on an external site? - drupal

I tried several approaches with the modules I found, but none of them seems to be able to do what I want!
I have a site R (remote) on which I want to integrate the content (posts with comments and possibility to leave a new one, forum, wiki) of a Drupal site D.
My idea is to have a widget on R, containing REST calls to D, but this approach seems to require a little too much effort in the rendering of that content.
How else can I do?
What in your opinion is the best approach?
Unlucky I can't use an iframe :( (I need something of asyncronous and reliable also in case the required content is not available)
Any help would be extremely appreciated, and I would be extremely thankful :)
Riccardo

If you cant use an iframe then Services module is definitely the way to go. The Services Views module is very useful to harness the power of views to give you a nice clean output.

Related

How to migrate a WebYep website to Wordpress?

I had a website which was built using the CMS WebYep. Now I want to shift it to WordPress. Can anyone tell me how to do that?
Thanks is advance :)
Regards,
Ryan
I'm afraid there is no automatic process for most CMS.
You can either do it manually, or write a program (or hire somebody to write it) to help do the job.
In most cases the manual way is preferred. Different content management systems work quite differently, so there's usually not a universal way to set things up. Recognizing the differences and how to achieve a similar result is an easy thing to do for a human but a very hard thing to do for a computer. Plus, from my experience, with a relaunch usually comes a re-structuring. When you're moving to a new house, you might just get rid of that old broken sofa while you're at it, basically.
When you have a very large website with lots of similar content, a developer can certainly write scripts to aid in the process of moving your content over to WP. This will usually not be cheap, so it's not a smart idea for a site that consists of a dozen pages or where the content isn't very homogenous.

Suggestions for deciding on a WCMS for a hockey website?

I need to make a website for my hockey club. My main purpose for this site is allowing people to sign in and post articles and training schedules in their section. Eg Mens, Womens, Juniors and Masters. I want to have some kind of upload manager that will allow them to choose where they post the info too (eg, Mens, Masters and Homepage).
This is the main functionality I'm looking for at the moment.
The clubs previous website used Joombla which I have hated. I found it to be way to restrictive. Its on a old version of it so there are probably many improvements in the new version but from what I've read it seems like it still has a lot of restrictions in how content is managed. I am open to trying it again tho.
I've used Wordpress before and liked it but that was on a small scale projects and I'm not sure it really fits what I'll be trying to do here, since it mostly deals with blog posts and I'll need to have functionality to upload and display files.
I've had a look around at some other ones like Squarespace and Silverstripe. I'm really liking the simplicity of silverstrip(one thing I hate about Joombla is the clutter on the opening page) and am leaning towards it right now if I can find a nice way to have people post news to multiple pages at once.
If anyone has any suggestions they'd be very welcome. I know html, css, javascript and a bit of php. I'm learning Ruby atm so wouldn't be against using it so I could learn more but it might be a bit much for a sports website.
First off, its nice to see someone that likes hockey too :) You can't use Squarespace, you'll need an Apache server for what you want. You will need some way to store information, so you'll need a MySQL database, probably some advanced knowledge of PHP (I'm assuming you don't know how to connect to databases and do some other functions). Wordpress is too limited, so you can't use that. I have never used Silverstripe personally, but it seems like the best of your options here. You'll probably need some more knowledge of PHP before you attempt to make a members system.

Using Content Management Systems for Clients

I am a web developer. Now my problem is that many of my clients want to update their web pages themselves, but I do not want to let them edit my html/css/javascript raw code, and even teaching them is already to much trouble. So I guess is to probably use a CMS (against my liking of course, cause I like doing the coding from scratch).
Now is this the only route to go (CMSs) and what CMS is the best to use? From what I see, Wordpress is the most popular, and most flexible/user friendly
What do you suggest?
Thank you
You might want this article http://sixrevisions.com/web-development/how-to-evaluate-what-cms-to-use/ They have a very good explanation as to what CMS will fit for you.

Seeking opinions on the best CMS platform for designers and front end developers

I have so far been a dedicated Wordpress user, but have been researching other CMS solutions of late, specifically, looking for something that could potentially allow me to EASILY convert an XHTML site into a CMS site for most projects.
I don't care for PHP - and find adding the appropriate tags to Wordpress a bit of a challenge. I am building fairly simple sites and simple blogs - I don't need a lot of extensibility.
I have heard good things about ModX and Textpattern and have today installed them on a localhost and started playing with them. Each has a bit of a learning curve, but I like what I see in terms of their tag codes (which looks a lot more like html than php).
I'd like to design websites where most pages are distinct from one another and don't necessarily have to fit into a template. I am looking for an automagical solution where I can directly input my html, css, javascript code into a CMS platform and it spits out my website exactly as I'd imagined it. Is this just a dream?
With so many solutions out there, just wondering about other web designer's and non-hardcore developers preferences?
I guess it's like asking if ipod or blackberry or n900 or htc etc.
While there are vast differences in how it works under the hood, for the most part you can expect about the same functionality, and it comes down to the provider and a particular feature you prefer in one over the other. In this case instead of your carrier you need to worry about you host, whether they offer the php version required aand the database you need etc. But for most part, you should be fine.
Modx Evo requirements : http://modxcms.com/learn/general-requirements.html
Modx Revo requires: http://rtfm.modx.com/display/revolution20/Server+Requirements
TextPattern requirements: http://textpattern.com/about/119/system-requirements
I find this an important thing to start with, while my server can handle either, you never know what server your clients are running(there still are some old configurations out there)
I haven't used Revo much yet, but it looks like there are quite a few really nice enhancements. One of them is installing packages. Previously you have to create TVs snippets chunks, so installing a package wasn't always so straight forward.
Modx Evo however has the import html feature, where you can load put your html site in a folder set the tag that holds the content, and modx will automatically create and fill the resources(pages), pretty nifty, but I've only used it to see what it does :)
Modx lets you get away with not knowing any php, but as your requirements change, you might find yourself needing an extra feature of script that is easy to add. I've found that using modx for the past 2 years or so has vastly improved my php abilities because of these additional functions required.
While I haven't worked with textpattern much I do remember installing it and playing around, but it just wasn't love at first sight, like with modx.
I also think modx is pretty easy for clients to navigate with some minimal coaching, but that is more of a comparison with joomla and drupal etc.
Bottom line, I think few people have spent enough time with both to REALLY understand both in terms of differences/advantages and mostly what you'll get is "the one I use is better; evidence being me using it" (myself included) or worse yet "I see you're mentioning CMSes, here's my favorite one"
To wrap up, one more important aspect (and this one is really important if you don't know your way around backends and php much) the community. If you run into problems, how likely is the modx vs textpattern forum.community willing to help. A good indication is community size. While I can't see the numbers for textpattern, currently modx forums show "255 Guests, 46 Users (3 Hidden)"
good luck
If you're comfortable with HTML then Textpattern's method of adding markup like tags into templates for content will probably be relatively straightforward for you to pick-up. The biggest issue most people seem to have in understanding Textpattern is its semantic model, there's a great page on the semantic model on Textpattern's Textbook site that should help.
I'm a big fan of Textpattern for building simple but powerful small to medium sites that do not require complicated user groups. It's quick to build well designed sites and the admin interface is really simple.
The Textpattern community is extremely friendly and helpful if you ever need help. Best place to ask things is on the Textpattern Forum.
You may want to consider sNews CMS in addition to MODx/Textpattern. It is quite minimalistic
PHP code is single file (excluding language translations).
You need to import one SQL script on phpMyAdmin and you are set.
After that its only styling and content.

Textpattern... what's the general feel about it?

We are about to start a new project, and an outsourced developer has come in and insists that Textpattern is the way forward... personally I don't mind. I can develop in almost any PHP environment... but the aim of the game is that it does well with SEO.
The question is, is Textpattern any good? Wordpress, Drupal etc are all very usable, with varying degrees on tidiness on the code, but they all work. Why would textpattern be any better than Wordpress for example? I like the community, I like the API, I like the plugins... why would you want to replace WP?
Thanks guys.
They're both pretty much the same as far as I know.
WP has more plugins, it's easier to install themes for it and it's more popular. It's got a worse security record though.
Textpattern is also robust, customisable and has decent plugins (though not as much as WP). It doesn't have the easy drag/drop theme installation as does WP (last time I checked anyway) but has a better security record in general. I personally find the whole look a little more tasteful than WP which seems to try too hard but that's just a personal opinion.
Drupal is heavier, more customisable and a different beast from WP and textpattern. Your needs would be different if you wanted that.
All of them do decent SEO by default as far as I know. Alteast I know that WP and Drupal do it well. TP too from what I remember.
You should just ask the outsourced developer for concrete reasons why to use TP instead of WP. Engineering reasons, tradeoffs, pros, cons, statistics, numbers. Make it clear to him that you're not going to let the project hinge on his personal preferences.
I think they are both very capable systems, and if you already know one of the systems over the other I'd go with the one you know...
There are some differences though, these pages give quite a nice summary of the pros and cons between the two:
http://txpmag.com/article/textpattern-versus-wordpress
http://www.robspangler.com/blog/wordpress-vs-textpattern
We user Textpattern because it allows to produce simple sites really quickly from our base install template (5-10 pages, no more than secondary level navigation).
For those sites we also find it pretty simple for our clients to update. For anything bigger or more complex it can get a bit cumbersome and confusing using the Textpattern backend, so we'd usually go with Drupal or Wordpress.

Resources