I'm giving a shot to rebuilding the newsletter-maker for my wife's company. The prime issue is setting it up to always/automatically, say, link to the 3 most recent posts on their blog.
I can imagine how to start doing with with Rails and Javascript (my areas of "expertise" as a relatively amateur coder), except for the part where I have absolutely no idea where I would get this stream of posts.
The site (and thus the blog) is on Drupal. I know so zero about Drupal that I'm not 100% sure what "on Drupal" actually means. But I googled Drupal API and it's too vast for me to know where to start, and searching "blog" on the API site doesn't return anything helpful.
PS. I do know how to work with APIs. Once I find one!
PPS. Is this just a matter of working with RSS feeds? (Which I also don't know how to do but I imagine it's easy to find an answer)
You can implement an RSS feed with the Views module.
In short, you would have to take the following steps:
create a view of the blog posts. Use filter criteria to select only published posts, and sort criteria to sort blogposts from most recent to older.
add a display 'Feed'
Under 'Feed settings' specify a path.
That's it. For more detailed tutorial, see e.g this link (disclaimer: I'm not the author of the referred blogpost).
Finally, extract the latest three RSS items with your newsletter-maker.
Related
I want to achieve something like this: http://curatorsofsweden.com with DRUPAL
Here different people post over the same twitter-Account for one week. The Twitter-stream is published on the Website and you can also „time travel“ via the archive to see what which people posted in which week/days.
I want to achieve the same with DRUPAL and with a Twitter AND Instagram Account (and maybe FB too). My Idea is to import those streams with the feeds-module to treat the posts as DRUPAL-content. This way is more flexible to work with the content afterwards. But how to "automatically" map this to different users (or maybe treat a user as own content-type instead of normal DRUPAL-user?)?
What modules - or combination of modules - would you use to realize this? Im open for any suggestion!
Thanks
St.
Edit the view/config page of the feed to include a "user reference" using terms or taxonomy. This might require using a custom hook_form_alter to tweak it a bit.
I have a WordPress blog and I am using the Automatic Youtube Video Posts plugin.
However, my site is in Danish and I would like for my posts to be in Danish.
Is there a way or a plugin that automatically translates the actual content of wordpress posts when they're posted?
Not just by using a real-time-translate-button, but actually changes the post data to the new language (So that it is read as Danish by google)
http://wordpress.org/extend/plugins/speaklike-worldwide-lexicon-translator/
http://wordpress.org/extend/plugins/bens-translator/
http://wordpress.org/extend/plugins/global-translator/
Those three examples are "automatic" translators, and work on posts . they also have a caching system for google.
However, since you "auto-post" - you might need to hook to them somehow. I never really used any, but I think that at least two of those are fully automatic and create the chosen translation on publish-time of post (and not real-time).
That being said - relaying solely on google translate service (or any other automatic service) for translation will likely to produce unwanted results.
I want to offer my visitors some freebies, but I want them to be available only on the website's feed (to promote it). In others words, I don't want it to appear as a normal post on my website, but only on the feeds.
Is there any way of doing that? I know how to edit my theme files if needed, but if there's a plugin that does the job, the better.
Please note, the offer will only available on the feed, not through mail-lists, etc.
This isn't a programming answer -- unless you specifically want to ask programming-related WordPress questions, you may well be better off asking on wordpress.stackexchange.com/ -- but I'd just use a plugin like the Advanced Category Excluder. You can specify any category of post to be excluded from the archive/home/search pages, or the feed.
So, install the plugin, put the posts you want to be feed-only in a particular category, and configure the Category Excluder to exclude that category from everything except the feed.
There are many plugins that will append things to the feed, such as:
http://wordpress.org/extend/plugins/copyfeed/
That's probably the way to go if you want to offer freebies at the bottom of each post. If you want entire posts, look for some kind of category excluder like:
http://wordpress.org/extend/plugins/simply-exclude/
One issue you'll run into, however, is that at some point someone will start scraping your feed and republishing it in an autoblog. That's true of anything you do, though.
First, I've only programmed a lot of HTML, know a little PHP and am playing with Wordpress, experimenting and learning it the way I learn everything else, trial and error, heavy on the error.
The subject line isn't very clear I'm sure. I have a site set up for writing. The posts act as categories and to a Page menu for static submissions. All posts, in the theme show up on page 1, 2, etc. Great.
What I'm trying to figure out and want is this. I want a separate section of Posts just for one topic, in this case movie reviews. So the main section of the site is general posting. I want a separate section where users can post to their hearts content but have those movie posts REMAIN in one section and not be mixed in with the "general population." Ok, they click on the Movie Review link on the main page. This takes them to the Site Admin where they can write a review in TinyMCE and Publish it. IS there a way that these Posts can show up in a section of their own?
I've even installed a second WP site for this purpose. Wonderful, but now I have to transfer all registered users there and any new ones. That's insane. Plus, the user would have to log in twice, once for the original and once for the Movie WP. Also unacceptable.
If I'm on the wrong site to ask this question, let me know and my apologies. Otherwise, some guidance would keep me from my endless Google search.
You can use Categories to mimic this. So your movie reviews would be at mysite.com/category/movie-reviews/. You would then modify index.php to exclude the movie reviews category from the main page.
If you're comfortable with using php, you could instead use custom post types. This is a better solution, but would require more custom coding. The bottom of the Codex page I linked to has some excellent walkthroughs on using CPTs.
I am already very confused as I am typing this thread out. Please forgive me if my query is a little too difficult to understand.
I have an existing Real Estate Site that I intend to move 100% into WordPress. The existing site has one backend for listings and another blog section for reviews.
You can probably see why I have decided to make the move to a full WordPress powered site. Maintaining both ends of the site is both tedious & cumbersome.
I have read and understood Custom Post Types & Custom Taxonomies and how they work. I am rather excited about implementing them. However there is some content I am finding difficult to organise.
* An existing database table of about 4,000 Condominium Projects
Each entry in the Condominiums table has some "bio-data" like Year Completed, No. of Units, Facilities, Amenities etc.
Currently each listing in my site has an ajax query that fetches information from this table on demand.
In the new site, I intend to have a link to the respective condominium in each property listing.
This link should display information about the specific condo and display 'results' of matching listings.
Also, some condos have long article reviews done for them. In my current site, these reviews are displayed in the blog section. Separated altogether.
So here's my question.
How would I connect everything together. A duplicate perhaps? Taxonomy & Post for each condo? That will mean over 3,000 unique entries. Wouldn't that be an "overkill"?
If it is a taxonomy, the link will probably display all posts (listings) that have that condo name. But it wouldn't link to an actual page of either it's review or bio-data.
Any thoughts will be very much appreciated... Please feel free to ask if I have missed out any vital information!
Thanks in advance
The seems very straightforward to me and a perfect fit for WordPress (and I shudder to think of doing anything in Drupal you don't have too; and this from someone who developed in Drupal for 2+ years...)
Anyway:
Each condo gets stored in a custom post type.
All the "bio-data" gets stored in a custom field. Alternately you could create a taxonomy called "bio-data" and have a term value for each of the options but this won't work well for things like "SqFt" unless you do ranges (i.e. 1200sft-1300sqft) because terms can only be used for "true/false" attributes (i.e. either it applies or it doesn't) and not for specifics like exact offer prices, etc.
The long articles can just be stored in the "content" section of the condo post type (unless you have multiple per condo then you can either store in comments as #Jan Fabry suggested or you can create a custom post type "review")
Like I said this is really straightforward. Of course I've lived and breathed database apps for 20+ years so it comes second nature to me. Any questions, just ask...
This was how I managed to solve my own question!, Ironically enough, MikeSchinkel had an almost identical answer, so I accepted his answer instead.. So here's what I have:
A Custom Post Type for Condominiums labelled 'Reviews' in the admin section. The property 'Bio-data' is in custom fields. This Custom Post Type has a rewrite rule:
array( 'slug' => 'condominium' );
That way, I managed to have each Permalink to show something like:
http://domain.com/condominium/post-title
I have added a page called Condominiums and had it set to use a custom template - which basically shows the latest posts of condominiums with reviews. I also intend to extend the template for it to show a Search Condominiums function.
Added relevant taxonomies that can be searchable - like Brands & Developers.
I have already converted previous reviews to this. The last thing I will have to do will be to post all the Condominiums from the condominiums database to the wp_posts table using this Custom Post Type.
This is the part I am crossing my fingers for as I will have to see if the rewrite rules are going to significantly slow down my site as this will be 4,000 entries. This issue has been recently brought to my attention here
http://core.trac.wordpress.org/ticket/12935
I will update this thread once I have completed the importing - since this is the only place I have posted a question and have it answered - if anyone might be interested!
Thank you for your suggestions. I hope this helps someone else who is in a similar predicament.
Would it work if you view the Condominiums as posts, and the reviews as comments to these posts? This would keep them together, and is conceptually not even too far from the original intention. You can put the extra information in custom fields and tags (which gives you free searching capabilities). Then you should see for yourself if you still need to create a custom post type, or just do it with regular posts (why not?).
But yes, you are stretching the original WordPress concept a little. Drupal or some other CMS might be a better option, and have more plugins that are suited to your situation.