View Single Post
  #458  
Old 01-23-2012, 05:57 PM
The Ottoman The Ottoman is offline
 
Join Date: Nov 2005
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bigtree View Post
As an example: If I wanted to copy product info off this site, how would you do this?:

http://www.rolandus.com/products/pro...94&ParentId=19
I went to the site, did a view source and grabbed the following from ln 104-125
Code:
<!-- features tab -->
<div id="c_features" class="activeblock detailblock tabbed_content">
<h3><strong>Compact 32-Key Model from the A-PRO Series</strong></h3>
<h3 class="silent">Features</h3>

<p>If you’re looking for keyboard controllers that you can use in the studio, on-stage, or anywhere you feel inspired, look no further than the A-300PRO. Combining the best of Roland engineering with Cakewalk’s legendary ease-of-use, the A-300PRO has the features and feel you need to get the most out of your music performances and productions.</p>

<ul>
	<li>Velocity-sensitive 32 keys with channel aftertouch</li>
	<li>Inspiring feel and response for serious players</li>
	<li>45 assignable controls: knobs, sliders, buttons, transport and more</li>
	<li>8 Dynamic Pads for finger drumming and MIDI triggering</li>
	<li>Sure-grip Pitch Bend/Modulation Stick</li>
	<li>Expand playability with sustain and expression pedals (available separately)</li>
	<li>USB Bus Powered — no AC adaptor required (AC adaptor is an optional)</li>
	<li>Durable Roland-quality manufacturing and craftsmanship</li>
	<li>Bundled with the Cakewalk Production Plus Pack including three incredible instruments and production software</li>
	<li>Works with any DAW on Mac or PC</li>
	<li>Supports Windows 7 and Mac OS X Snow Leopard</li>
</ul>
</div><!-- /features -->

I'm sure there are lots of ways to do it with XML feeds and alike that the owner of the site may or may not be interested in giving you access to. But a rather lo-tek way to achieve some thing similar would be to get a program to scrape the entire site like HTTrack and then scour the results looking for all instances of the data between "<!-- features tab -->" and "<!-- /features -->".
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01136 seconds
  • Memory Usage 1,771KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete