Questions tagged [web-scripting]

97 questions
1
vote
2 answers

Which is better web script or cmis in alfresco

I am curently developing a java/jee application using Alfresco as ECM. I want to know what is the best way to communicate with alfresco in a Java/jee app.Which is better using the web script or cmis ?
fbm fatma
  • 430
  • 6
  • 22
1
vote
1 answer

Scrapy CrawlSpider and LinkExtractor rules not applied for pagination

Can't figure out why CrawlSpider in scrapy doesn't do pagination despite setting rules. However, if change start_url to http://bitcoin.travel/listing-category/bitcoin-hotels-and-travel/ and comment out the parse_start_url i get more items scraped…
Jide Koso
  • 415
  • 5
  • 17
1
vote
3 answers

Use PHP variable to search through SQL database

I have a database called $addressdb. I want to search through a table on that database with a result the user inputted ($usersName). My mistake is probably really stupid. I am new with mySQL.
LifeofBob
  • 37
  • 6
1
vote
1 answer

Alfresco: Web scripts url mapping behaves differently when written in Java vs. Javascript

I had come across a problem with web scripts and their URL patterns and behavior in Alfresco, depending whether the web script is written in Java or JavaScript. Since it took me some time to figure it out, I want to share it here. Original post in…
Mathias Conradt
  • 28,420
  • 21
  • 138
  • 192
1
vote
1 answer

HtmlBox JQuery plugin

I'm using the HtmlBox 2.8 (http://remiya.com/cms/projects/jquery-plugins/htmlbox/) Turns the textarea to a richtext editor. when i change the value of the textarea, $('#Survey_Value').val(data.Value); the text in the richeditor does not change. how…
CoffeeCode
  • 4,296
  • 9
  • 40
  • 55
1
vote
2 answers

Get node details in Alfresco via back-end webscript

I want to get node details via Backend webscript but I have some issues. I've tried two webscripts: alfresco/service/slingshot/doclib2/node/workspace/SpacesStore/a10a0777-40f4-42da-b236-8845eb26294e…
deltascience
  • 3,321
  • 5
  • 42
  • 71
1
vote
0 answers

Alfresco - file already exists after file moved to another folder

I use Alfresco 4.2.c on a Linux 64bit machine.2.c on a Linux 64bit machine. To insert files on Alfresco i've mapped \192.168.20.101:8080\alfresco as a network drive in Windows XP. i've developed a webscript in Java that takes as input the nodeRef of…
CaptainAmerica
  • 83
  • 1
  • 15
1
vote
1 answer

My iMacro script(s) doesnt run inside my PHP script. Why?

I am learning how to run iMacros from my php scripts so that PHP script calls an iMacros browser session and passes any variables that I have (url and macro name for example). The iMacros session then runs the iMacro, after the macro is done running…
codepreneur
  • 466
  • 6
  • 19
1
vote
1 answer

Spring surf javascript backed webscript and JSON objects

I really need a hand here. In the last 2 or 3 hours I tried to simply list a JSON object in freemarker with a javascript backed webscript and no luck. let's name my script as x, so: x.get.js function main(){ //model.data = {'name':'Test…
1
vote
1 answer

web data extraction, getting data from tables to CSV

I want to get data from tables in web pages, which seem to be published using "Excel Publish as Web Page Wizard". I'm aware there are a lot of scraping tools (seem much advanced for such a task) and aware I can write a script, but I'd like to be…
Baha
  • 388
  • 3
  • 12
0
votes
1 answer

ExtJS-Parsing json data and display in view

I am calling a rest webscript using Extjs with JSON,but unable to display on view. The problem is i am getting the json data as response from the server.But when i want to display on view.Its not getting displayed. here is my json: { "data": { …
maanoor99
  • 131
  • 2
  • 4
  • 15
0
votes
1 answer

Remote WebScripts invocation of Alfresco in Android App.

I am tring to invoke WebScript in Alfresco remotely using the URL http://192.168.1.2:8080/alfresco/service/sample/folder/Company%20Home and the url will promth me with the authentication window allowing me to entire the username and password. This…
Surya
  • 439
  • 3
  • 9
  • 31
0
votes
0 answers

issues with selenium, not finding by xpath on iframe

I'm doing web scraping with Selenium in python and I need to click a button to extract some data this button is inside of an iframe which I already switched (switch.to_frame()) and Selenium still doesn't find by XPath this is the code: import…
0
votes
0 answers

Problem collecting data through linker - selenium

from selenium import webdriver from selenium.webdriver.common.by import By import numpy as np import pandas as pd from bs4 import BeautifulSoup from selenium.webdriver.support.ui import Select from selenium.webdriver.chrome.options import…
0
votes
0 answers

After updating Windows and Python to version 11, I started to have a problem stopping the driver after turning off the code

The problem is that if you turn off the code during the 10 seconds of sleep, the driver will not turn off. All of this happens if you add this line: (options.add_experimental_option('excludeSwitches', ['enable-logging'])) from selenium import…