Comments (15)
I've been thinking a lot recently about the different options for importing existing sites. The csv import was something I hacked together a while back but it is not being used very much and I don't think I'll be making many changes to it soon ( if more people ask or someone can help then I will)
What I want to spend more time on is to make it easier to import directly from existing websites. I've been working on this in a separate gem and I will soon include that in PWB:
https://github.com/RealEstateWebTools/property_web_scraper
If you let me know the url of your old website I can have a quick look to see how easy it would be to import directly from it.
from property_web_builder.
from property_web_builder.
That should be quite easy to scrape - I will have a look later
from property_web_builder.
Actually, that site does not have much info about a property and it is not so easy to scrape. Do you maybe have listings on idealista.it or some other website that might be easier to scrape?
from property_web_builder.
Hi @Zaldor, the latest build should allow you to import properties from your website.
Try it out here:
https://pwbimporter.herokuapp.com/en/admin/io/properties/from_webpage
Enter this url and try importing it:
http://www.carusoimmobiliare.it/immobiliare/frame.php?page=dettaglio_annuncio&_cod_annuncio=100038
It is still a proof of concept but I will try to polish it up soon.
from property_web_builder.
would anyway be a ONE by ONE process?
from property_web_builder.
mmm, not quite sure what the problem is there. Yes, it would be a one by one process at the moment. To be honest, right now for your use case you might as well just add the entries manually.
When I get the time I will improve on it with better error handling and the ability to retrieve multiple properties at once. That isn't likely to be in the next few weeks though.
from property_web_builder.
from property_web_builder.
Fair point, I will do that when I get the chance.
from property_web_builder.
I received the same error importing from a web page. Ill make a gist of it before eod today. But as far as I can tell its our rails setup, not a pwb error. The log file reports something to the effect
of a remote server not being allowed to open a console. Only the localhost is defined in the messages I saw.
from property_web_builder.
from property_web_builder.
I sent Ed my error log yesterday, lets wait for his opinion. :)
from property_web_builder.
Hi guys, sorry for the delay in replying.
I've implemented the functionality for retrieving info from external websites in a gem which needs to be imported and mounted. I haven't had the time to document it properly but if you are creating a new website from the heroku project it will just work.
If are updating a website you created on heroku using my heroku project then you first need to update it via the heroku dashboard. After doing that you will need to run these commands from the console:
rails db:migrate
rails app:property_web_scraper:db:seed
If you are not using my heroku project then it is a bit more complicated:
- Add property_web_scraper with this line in your gemfile:
gem 'property_web_scraper', github: 'RealEstateWebTools/property_web_scraper'
- Mount it at /io by adding this to your routes.rb:
mount PropertyWebScraper::Engine => '/io/'
- Copy the migrations:
rails property_web_scraper:install:migrations
- Migrate:
rails db:migrate
- Seed the database
rails property_web_scraper:db:seed
- Add this line to your config/initializers/assets.rb file:
Rails.application.config.assets.precompile += %w( pwb/themes/default.css )
from property_web_builder.
I think in my case i should do the update, which I guess is as before:
- MY git fork > Pull Request > Merge
- Heroku Dash > Deploy > Update from git
But I don't see any difference from my PWB-for-heroku to etewiah/pwb-for-heroku
Am I missing something?
from property_web_builder.
It looks like you've updated your application successfully. You now need to run the 2 commands I mention.
You can do this by clicking the "more" button on the heroku dashboard (it is in the top righthand corner) and select "Run console". In the form that appears enter "rails db:migrate" and hit run.
Do the same again for the "rails app:property_web_scraper:db:seed".
BTW, I am aiming to improve the documentation so if you can help that will be really appreciated. I have just created a page about how to update heroku installs here:
https://github.com/etewiah/pwb-for-heroku/wiki/Updating-your-heroku-installation
It is a wiki so if there is anything you feel should be added feel free to edit it or create a new page. Add documentation in Italian if you wish ;)
from property_web_builder.
Related Issues (20)
- Cant start app HOT 5
- Adding Philippine Peso to the currency. HOT 1
- Could not find gem 'globalize (~> 5.1.0.beta2)' HOT 5
- Customize admin views HOT 1
- Error when uploading images to Cloudinary HOT 2
- Mutiple Area Unit HOT 2
- Default Area Unit HOT 1
- Who's using PropertyWebBuilder?
- Google Maps API error: RefererNotAllowedMapError HOT 1
- Project communication channels HOT 1
- Googke Maps Api Key HOT 5
- Problem Deploying app to Heroku HOT 7
- Adding currency HOT 1
- How to edit code for the Heroku deloyed app HOT 2
- Error deploy to heroku HOT 4
- Document deployment to heroku alternative with a free plan HOT 14
- Alterntive to heroku HOT 1
- > I would love to work on this. Fly.io is a good alternative HOT 1
- Heroku error HOT 1
- Title: Security Vulnerability: Potential XSS Vulnerability in PropertyWebBuilder HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from property_web_builder.